Game Development Community

Adding setMove,etc to staticShape

by Sam3d · in Torque Game Engine · 01/21/2006 (1:19 pm) · 3 replies

My only c++ experience is incorporating TGE resources.

But I'd like to create a version of staticShape that includes:
- setMoveDestination + onReach
- follow terrain, true/false

It appears setMove is coupled tightly with player.cc.
And I don't see anything that provides a follow terrain bool.

So is this a non-trivial class to create?

Any input / hints appreciated.

#1
02/09/2006 (6:37 pm)
One of the reasons for the different classes of objects is the network model. A static shape is optimized to be static. Why not just bring your moveable objects in as another type of object that supports movement?

B--
#2
02/10/2006 (8:15 am)
There is a ShapePath Resource somewhere that implements this.
#3
02/10/2006 (8:48 am)
Brandon - good point

Bruno - nope, I don't think so, it 'just' follows a path.