arkos
22-09-2006 05:35:12
Hey guys,
I am totally new to newton so forgive my Noobness. I have a game where you shoot lazers out of your gun. Players are confined to an arena and the excitement of the game comes from all of these lazer beams bouncing off of the walls.
What I have so far is a ball that fires from the gun (I will add a particle trail to make it look like a lazer). I have created my own custom force and torque callback and do not have gravity acting on the ball so the ball does not fall to the ground. The problem is that the ball slows down after it collides with the walls I want to make it so that there is an elastic collision. How do I accomplish this?
Do I have to mess with the material pairs? and if so what do I need to touch and what should I stay away from?
I am totally new to newton so forgive my Noobness. I have a game where you shoot lazers out of your gun. Players are confined to an arena and the excitement of the game comes from all of these lazer beams bouncing off of the walls.
What I have so far is a ball that fires from the gun (I will add a particle trail to make it look like a lazer). I have created my own custom force and torque callback and do not have gravity acting on the ball so the ball does not fall to the ground. The problem is that the ball slows down after it collides with the walls I want to make it so that there is an elastic collision. How do I accomplish this?
Do I have to mess with the material pairs? and if so what do I need to touch and what should I stay away from?