Archived

This topic is now archived and is closed to further replies.

bounce effect?

This topic is 6275 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If you want bouncing balls or something like that you just have to reflect the balls velocity vector against the surface that it hits. If your looking for general stuff, goto some physics sites and I''m sure you will find all sorts of stuff.

Nate Miller
http://nate.scuzzy.net

Share this post


Link to post
Share on other sites
Bounces are determined by the velocity of the object and the surface it hits against. Find the tangent of the point on this surface that the object hits (if it''s not flat) and then make it just go in a mirrored velocity off of that object. All objects will also travel in a parabolic arc (if there''s no wind/other unbalanced forces)... Simple enough to find the vectors of the direction using some simple physics and geometery.

S.

Share this post


Link to post
Share on other sites
If you want to give your surfaces some various rebonding effects, you just have to give them a simple dumping value ranged from 0 to 1 unless you want to make your object to go higher (dumping >1). Then when you have calculated the new velocity vector you multiply each coordonate by the dumping value of your surface.

If you want more complex effects, you can give a different dumping value to each coordonate (I think).

My Web Page

Share this post


Link to post
Share on other sites