Game Development Community

Linking objects off center?

by Adrian Cheater · in Torque X 2D · 10/22/2007 (1:46 pm) · 1 replies

Got another TorqueX / TXB question, workaround, and appeal for a better way.

This time around, I want to mount an object off center from another object to create a joint. Currently when you mount an object, its center is mounted to the mountee's link point. I can fake the kind of joint I want by involving a 3rd object with a link point placed where the center of the mounter's center would be.

Are there any better approaches? Is it, or will it be possible to mount one object's link point to another object's link point?

Regards,
Adrian

#1
10/22/2007 (2:19 pm)
Currently linking happens at the center of an object. The common ways to do what you're trying are to create the dummy object, as you're doing right now, or to modify the art to make the desired center the actual center.