Game Development Community

Weapon mount problems

by Rev. A. Bell · in Torque Game Engine · 02/06/2002 (4:47 pm) · 2 replies

I've just recently started working on getting weapons into my game, and I'm having a problem with the mount point.

I followed the weapon tutorial at
http://www.garagegames.com/articles/dhannah/tutorials/

Everything works fine except the mount point. No matter what I do my character just cradles the weapon under his arm. Nothing seems to have any effect, in fact even if I remove the mountpoint dummy altogether it appears in the same position. This of course leads me to believe that the mountpoint is being disregarded completely.

The pivot is facing the proper way, and the dummy is named "mountpoint" and is a child of "rifle" ("pistol" in the tutorial).

When I export I see the lines (in dump.dmp):
Third pass: Collapsing unneeded nodes...
Removing node "mountpoint"

Is this normal? Any ideas? Help!

- Barry

#1
02/06/2002 (6:00 pm)
I was having the same problem. What it's doing is mounting at the pivot point instead of the mountpoint.

That line in the dump file sounds like you need to add the mountpoint in your config file under AlwaysExport.


Dark
#2
02/06/2002 (6:27 pm)
That was exactly it, thanks!