Weird behavior of the physics CharacterComponent - SetVelocity()
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening and running the attached CharacterVelocity.zip reproduction, using SetVelocity() while moving and turning until the jerky motion appears. Then investigate the character physics path and the reported BulletPhysics interaction; done means the reproduced motion remains smooth without the intermittent slowdown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100