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.

DarkBASIC Discussion / Ninja rope physics

Author
Message
Drew Cameron
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 30th Jul 2004 02:29
Anyone care to help with the 3D principles of swinging from a certain point ?

Just the theory behind it maybe to get me started...

Dumbo - full game now FREEWARE... coming November 1st

http://www.ddrw.dbspot.com/new
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 30th Jul 2004 02:45
Swinging with a rope goes around a pivot point, and you're going to be the same distance away from that point no matter how far the swing goes, so your travelling in an arc. You can calculate the point using newzvalue and newyvalue (and maybe newxvalue, depending on other angles). What you'd do is increase the angle, so the swing goes forward, but decreasing the rate at which the angle changes so it stops at a certain point, and then, decrease the angle in the same way to make it stop on the other side. From here its not hard to implement that the swing gets less and less as time goes by.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
Drew Cameron
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 30th Jul 2004 02:53
I'll give it a shot.

Dumbo - full game now FREEWARE... coming November 1st

http://www.ddrw.dbspot.com/new

Login to post a reply

Server time is: 2025-05-25 17:17:48
Your offset time is: 2025-05-25 17:17:48