asteroids ship control question...

0 views
Skip to first unread message

Clark Stevenson

unread,
Jun 5, 2008, 8:49:17 PM6/5/08
to ape-g...@googlegroups.com
Hi everyone,

Im looking for some quick advice.

I have a group called Spaceship:

It has 4 particles connected with constraints to form a triangle but with legs.. the character A is similar in shape.

I am unsure of how to control this group.

I managed to get it to fly by using a keypress and applying massless force to the centre particle within the group... it works but the rest of the group just wobble around loosly around the centre point.

The Group class does not seem to have a rotational property so i dont know how to approach the problem but its fundamental to my understanding of APE. If i know how to get the group as a whole to rotate like it is 1 object around a centre point, then id be able to use the group rotation to somehow figure out how to apply thrust in the direction that the ship is facing.

Has anyone got any help or old experimental code or advice? 

Thanks :D

(using 0.4.5)
Reply all
Reply to author
Forward
0 new messages