setLinearVelocity + gravity created weird additional velocity z
See original GitHub issueI set body.setLinearVelocity(0.0, 0.0, 0.0);
in notifyOnUpdate
and object is still falling slowly due gravity.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Physijs and setLinearVelocity: moving objects - Stack Overflow
Edit just tried using setLinearVelocity() it works with the updated code above.
Read more >setLinearVelocity is not accurate - Questions - Babylon.js Forum
I'm using player.physicsImpostor.setLinearVelocity() to move the player in my scene, but it is not accurate. Sometimes it works correctly, ...
Read more >Added velocity (bullet engine and JME3) - jMonkeyEngine Hub
Hello everyone, In my game, I move platforms. These platforms have a RigidBodyControl attached in Kinematic mode.
Read more >Pawn falls too slow - World Creation - Unreal Engine Forums
Is there any way to increase the gravity just affecting the pawn. ... graph on event tick I set linear velocity (only in...
Read more >Unreal Engine 4 Directional Gravity and Gravitation ... - YouTube
Walking through manually adding gravity in UE4 in any direction for an actor (first 10 minutes) as well as how to simulate gravity...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use
body.setLinearFactor(0,0,0)
orbody.disableGravity()
to prevent gravity. (Armory usually maps 1:1 to Bullet with these calls.)Seems like my problem > https://blenderartists.org/t/clearing-resetting-physics/465799