Player attracted to a magnet
by Samuel Harper · in General Discussion · 10/05/2006 (1:48 pm) · 4 replies
Hi all,
I've got my jetpack working with my player.
(thanks to Tim Heldna - http://www.garagegames.com/index.phpsec=mg&mod=resource&page=view&qid=11314)
Now - I'm working on the player landing.
What I'd like to do is to create some landing targets. As the player gets close to the target (if they're in jetpack mode) - I'd like the target to act like a magnet and draw the player in until they land on the target.
Does anyone have any ideas on how to do this?
Thanks!
I've got my jetpack working with my player.
(thanks to Tim Heldna - http://www.garagegames.com/index.phpsec=mg&mod=resource&page=view&qid=11314)
Now - I'm working on the player landing.
What I'd like to do is to create some landing targets. As the player gets close to the target (if they're in jetpack mode) - I'd like the target to act like a magnet and draw the player in until they land on the target.
Does anyone have any ideas on how to do this?
Thanks!
About the author
#2
For ApplyImpulse - would I call that on the player? I'm still a noob at this -
Thanks!
10/05/2006 (3:09 pm)
Yea - I was thinking of physicall zones - or triggers - I think both would work - with zones I can 'catch' the player futher away - which I think would be more fun.For ApplyImpulse - would I call that on the player? I'm still a noob at this -
Thanks!
#3
-Max
10/05/2006 (3:14 pm)
For apply impulse you would probably want to create an object at the center point of your landing area and call the apply impulse from the object with a negative number on your applyimpulse. Just an idea, hope it works out for you.-Max
#4
I'll give that a try - thanks!
10/05/2006 (3:20 pm)
I was going to make my 'target' an object - so this should work out well.I'll give that a try - thanks!
Torque Owner Max Thomas
-Max