I’m trying to emulate the physical interaction of two balls, similar to the “Simple Pool” demo.
FPS is 60,
Scale is 60
Gravity is 0,0 (horizontal plane)
All the properties of the two balls are identical to the balls in the pool app,
–my app
local ballprops = {density=0.8, friction=0.2, bounce=0.5, radius=15}
local ballbody = {density=0.8, friction=0.2, bounce=0.5, radius=15}
ball.linearDamping = 0.3
ball.angularDamping = 0.8
ball.isBullet = true
–sample app
Force vector is nearly identical:
{ density=0.8, friction=0.2, bounce=0.5, radius=15 }
–my app:
xForce:-1,yForce:-139
–pool app:
xForce,-2,yForce:-130
When I call “applyForce” on the ball, it launches just fine, but it ends up pushing the ball, while it continues moving forward.
I have no idea what else I might be doing wrong. I could really use some ideas on what else I could check. [import]uid: 22457 topic_id: 5745 reply_id: 305745[/import]