Character velocity is registered while walking against physics objects and vehicles
User description:
I'm trying to rely on velocity to know when an actor is moving so that i can stop the walking animation, but when pushing against physics objects, even if immobile, the velocity is quite high, it is fine with static meshes such as walls
As an example there are parked cars in my level, if i walk and push against one my velocity will stutter from 0 to 15+ making my animation go from idle to walking in a quick succession, the cars have suspension and have subtle motion when pushed against, this is probably what is causing the velocity spikes
1. Download the attached test project
2. PIE
3. Walk to the right and pin the car against the wall
4. Continue walking against the car and look at the velocity readout
5. Walk to the left and pin the physics box against the wall
6. Continue walking against the physics object and look at the velocity readout
Results: The character velocity will bounce between 0 and generally a higher number (8 to 30)
Expected: When the character comes to rest, his velocity stays at 0 even against physics objects
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.10.2 |
Target Fix | 4.12 |
Created | Jan 28, 2016 |
---|---|
Resolved | Jan 29, 2016 |
Updated | Apr 27, 2018 |