I tried just giving the bumper object a large “bounce” value, but that doesn’t really work. If the ball is moving slowly when it hits the bumper, it won’t bounce much even if the bumper has a high “bounce” property.
What I need is an object that, when touched, applies a certain set force to the object that collided with it. This force should override the original collision force. Has anyone tried to do something similar? I’m thinking this should happen in the preCollision handler.
I’m stuck on the following:
a) how to cancel the original collision in the preCollision handler
b) how to apply a force to the object that hit the bumper in a way that looks natural - it needs to bounce off at the correct angle as it normally would, but with a constant force applied to it, as a pinball would bounce off a bumper. [import]uid: 52127 topic_id: 10280 reply_id: 310280[/import]