Hi, so I was trying to make an object stay at the center of the screen and if anything hit the object its supposed too bounce off it but I think since I put “static” in my physics.addBody the whole thing doesn’t work.
The lollipop stays in the middle of the screen but when my ball physic object goes to it, the ball doesn’t hit it, it just goes right through the lollipop.
Any ideas?
[lua]–lollipop
physics.addBody( lollipop, “static”, { gravity = .1, friction=0.3, bounce = 0.3 } )
–ball
physics.addBody( ball, “static”, { gravity = .1, friction=0.3, bounce = 0.3 } )
[import]uid: 54001 topic_id: 10161 reply_id: 310161[/import]
[import]uid: 12482 topic_id: 10161 reply_id: 37103[/import]