Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / physics demo (reflection, acceleration,)

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Jul 2004 09:01
impact_strength# = 1 for perfect force transfer(no loss or gain)
higher adds force (like hitting a spring in a pinball game)
lower loses force (more realistic)

braking = higher for faster stopping

Shape must be convex. I plan on working out concave shapes later during the week.



"eureka" - Archimedes
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Jul 2004 11:07 Edited at: 11th Jul 2004 12:17
It's a little buggy. Occationally you may get stuck if hitting a corner directly. Bounce around inside a shape, while remaining outside of the inner shape.




"eureka" - Archimedes
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 11th Jul 2004 16:47
Pretty Nifty

Be happy, tomorrow is another day

Login to post a reply

Server time is: 2024-11-23 20:10:16
Your offset time is: 2024-11-23 20:10:16