stride icon indicating copy to clipboard operation
stride copied to clipboard

Weird behavior of the physics CharacterComponent - SetVelocity()

Open dawnmichal opened this issue 3 years ago • 1 comments

Release Type: Official Release

Version: 4.1.0.1459-beta

Platform(s): Windows

Describe the bug Character moving using SetVelocity() method cause jerky chopped motion at some point.

To Reproduce I made this SUPER simple project to demonstrate problem (see attached zip file). Just hold W or UP key to move forward and turn by mouse... After a while you can find a "sweet spot"👌 🤔 , where capsule movement starts to be jerky or slowed down. And then it fixes itself again.

Expected behavior Sleek & smooth character motion ;)

Additional context Based on my tests, I'm starting to think there may be a problem with BulletPhysics. CharacterVelocity.zip

dawnmichal avatar Feb 04 '22 13:02 dawnmichal

This behavior can also be observed in the official "Third person camera" intermediate tutorial. Tested on version 4.1.0.1734 (installed with Launcher). Although it seems like a small thing, I think it's a shame that a basic component that most users encounter has this bug. Most developers need a player character in their game...

dawnmichal avatar Aug 22 '22 20:08 dawnmichal