Game Development Community

Mounted object pushing the mount?

by Alex Moran · in Torque Game Builder · 10/08/2006 (10:38 pm) · 1 replies

Hi, this is my first forum post, here goes.

I'm making a white water rafting game. I finally got the water and the boat working together. I have mounted pieces of the boat onto a frame so I can script each piece of the boat separately, and I have a script written that will make the boat move in response to key inputs. Here is my problem, If I apply the same movement script to the mounted pieces of the boat then the boat doesn't move when I run the game. I would like the boat to move by binding movement keys to the boat's mounted pieces. I could then give different movement commands to diffent sides of the boat, just like in real life.

Any suggestions on how to make a mounted piece move its mount?

#1
10/09/2006 (12:30 am)
Alex, mounts in TGB don't have bi-directional control. A mounted object is owned by the parent. It assumes the parent's position and optionally rotation and other attributes.

And an object can only be mounted to one other object (otherwise I was going to suggest : mount the raft to the N different control pieces)

I guess either you have to delve into c++ customization of the engine, or re-think your raft piloting control concept.