Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello I am experimenting with CopperLicht WebGL library and cant figure out how to make an object bounce away from the object it hits. I have 2 cars and a cube object. How can I make the car bouce away when it hits the cube? Also when a moving car hits a stationary car I want the stationary car to move back? |
||||
|
Hi, CopperLicht only supports collision detection and some very simple physics mode: Collision and response for an ellipsoid in a polygon soup, useful for moving objects in a 3d level like for first person shooters. Rigid body dynamics just like you would need for this is a completely different things, you would need to write this yourself or use a special physics library for this. Also, it could be able to fake some physics for your simple scene with some simple math. |
||||
|
|