View Full Version : Joystick Motion Capture

01 January 2008, 08:23 PM
I have a box that I can control using a Thrustmaster joystick. I can pitch, roll and yaw the box. I want to move it forwards and backwards using the throttle controller. I can move the box fowards and backwards but only, it seems, using World coordinate system. When I pitch the box forward whilst travelling forward I want the box to continue in a downward direction. Instead, my box pitch forwards but continues to move along on the flat.

Basically, I am trying to mimic the movement of a helicopter.

01 January 2008, 12:23 AM
Look at help for "in coordys". You probably want to use local.

01 January 2008, 08:20 AM
Are you using the built-in motion capture utility? If you are, and if I understand correctly you should use the "increment based on direction" settings on the position motion capture. There is a simple tutorial in the helpfile of the usage.

01 January 2008, 06:31 PM
Thanks. Yes, I've simply plugged in a USB joystick and want to control a box, for the moment. I can pitch, roll, yaw the box. I had a look at what you mention and can't quite get me head around it. I'll try the tutorial.

01 January 2008, 09:18 PM
Well I've had a go at that but it still moves the box up and down the World X axis.

I added a Rotation controller and chose X for local coordinates of my box and X as component as the Throttle controller on my joystick will control speed and forwards and backwards in the direction of X.

So I'm confused. Some step-by-step instruction for this would be really useful unless someone else would like to give it a try, providing you have a joystick.

Any help gratefully received.

03 March 2008, 04:13 PM
I'm revisiting this motion capture thing again. Would someone care to take a look at the attached and let me know why my camera can pitch, yaw and roll using the joystick but still only travels up and down the World X-axis instead of in the direction of Local Z.

I use a Thrustmaster Top Gun Fox 2 Pro USB but any joytick with an acceleration slider/control will probably do.

Any help very gratefully received.

03 March 2008, 05:44 PM
I'm not a helicopter pilot but I did animate UAVs for 6 months. If you pitch a helicopter forward... it doesn't fly downward does it? The lift should produce a forward vector in addition to the lift causing it to sink slightly but it certainly won't fly in the direction the nose is pointed. So throttle and over all angle of attack should affect lift (altitude) and orientation of the main rotor should affect forward/reverse.

Sorry I don't know anything about the motion control system in Max but I think what you're trying to accomplish control wise isn't actually what you want to accomplish for it to look right.

CGTalk Moderation
03 March 2008, 05:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.