Game Development Community

A rolling ball

by ArchonLight · in Torque Game Engine · 08/05/2008 (11:42 am) · 3 replies

Hello, Im new to the website and Im looking to make my player object a rolling ball. I have replaced the player dts with this ball dts.

I've run into a few problems.

I go in and setup my cam and eye dummy objects inside of max and then re-export it into the player folder, when i try and right click and move my view troque crashed every single time, what could be the cause?

I believe my eyes was under base01 and my cam was under the actualy object, or vice versa I cant remember at the moment.

Another problem is doing animations for when the ball rolls. I have created a sequence named run, to replace the one it has. I commented out the set of sequences in the .cs that a base copy of torque starts with.

Then when I export it as a whole object with the run sequence imbedded it DOES animate when i hit forward, the problem is it will keep going after its been pressed once. If I turn cycle off on the sequence inside of max it will only play once and then it wont play when forward or "w" is hit again.

Any suggestions?

#1
08/06/2008 (9:12 pm)
I don't know about the first one.
for the second one, can u try to export .dsq animation for run and root?. in the player/player.cs comment out every sequence except root and run.
#2
08/07/2008 (12:08 pm)
Well I ran into a fun virus so until i get my laptop back i cant try your suggestion but I will when I get it back.

Its just that Ive have never exported a .dsq but I was told the main difference is hitting sequence instead of whole object.

I was just hoping I wouldnt have to do a .dsq for rolling left, right, forward, back, falling by making each .dsq, but it seems that I will end up having to do that.
#3
08/07/2008 (2:02 pm)
You can do only 1 rolling animation but you have to write scripts to change your player transform when a key pressed so I think making individual animations is much easier than scripting.