Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17117

[PHYSICS] Linear Damping not working in v3.10

$
0
0

@kingchimp wrote:

Hi all,

Linear damping on physics bodies does not appear to work for me with version 3.10. It was working previously. I've seen a post here about it not working on 3.11, but that is a separate issue and is not the cause of this. I've set a breakpoint in CCPhysicsBody.cpp on the update() function, where there's an if statement that checks linear damping, but it never fires. In the debugger I can see that _isDamping is set to true and _linearDamping set to 0.5 on my physicsBody.

Any ideas gratefully received smile

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17117


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>