Skip to content

Resetting forces #243

Answered by jrouwe
niansa asked this question in Q&A
Discussion options

You must be logged in to vote

The 'effect' of a force is a change in velocity (and thereby also position) in the next update. There is no effect beyond that, so there's nothing to 'fade out'. Once moving, a body will continue to move forever at a constant velocity until an opposing force is applied, usually through friction or damping (see: BodyCreationSettings::mFriction, mLinearDamping and mAngularDamping), but I wouldn't call this 'resetting' or 'fading out' of force.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by niansa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #242 on October 03, 2022 18:21.