ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Collision reponse (cartoon physics)
person icon
matej
Registered User
Quote
2010-08-09 13:25:54

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?

person icon
niko
Moderator
Quote
2010-08-09 19:51:33

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |