Flying vehicle animation
by University of Gotland (#0005) · in Torque Game Engine · 05/09/2006 (2:28 am) · 18 replies
I have some serious problems with exporting flying vehicle animations.
The animation works in showtool, but torque crashs when its trying to load the vehicle.
Appreciate any help.
The animation works in showtool, but torque crashs when its trying to load the vehicle.
Appreciate any help.
About the author
#2
05/09/2006 (6:49 am)
Did you properly define the flying vehicle??
#3
i80.photobucket.com/albums/j197/Jens_Ostberg/Schematic_flying_vehicle.jpg
05/09/2006 (7:07 am)
In showtool yes the model worked, I have just managed to get it in to the engine without animation, but it's not visible, working on solving this, input on how is appreciated. The program that we use is 3D studio max, the animation is a dsq, I hope that the model is set up right, polys 2223. i80.photobucket.com/albums/j197/Jens_Ostberg/Schematic_flying_vehicle.jpg
#4
05/09/2006 (7:14 am)
Any tips on how to make sure that the flying vehicle is define properly?
#5
05/09/2006 (7:22 am)
Hmm, is it possible for you to post the model here with a link or send it by mail? I could try it in my game which uses flying vehicles as player replacement (player = vehicle). I do not use animations, but I could check if the model works and probably try out if animation is working too.
#6
[IMG]http://i80.photobucket.com/albums/j197/Jens_Ostberg/Schematic_flying_vehicle.jpg[/IMG]
05/09/2006 (7:30 am)
In showtool yes the model worked, I have just managed to get it in to the engine without animation, but it's not visible, working on solving this, input on how is appreciated. The program that we use is 3D studio max, the animation is a dsq, I hope that the model is set up right, polys 2223. [IMG]http://i80.photobucket.com/albums/j197/Jens_Ostberg/Schematic_flying_vehicle.jpg[/IMG]
#7
http://tdn.garagegames.com/wiki/DTS/3dsmax/Creating_a_Simple_Flying_Vehicle
05/09/2006 (7:38 am)
To be honest this may solve all your issueshttp://tdn.garagegames.com/wiki/DTS/3dsmax/Creating_a_Simple_Flying_Vehicle
#8
05/10/2006 (5:20 am)
Martin maby you can send my the code that makes a flying vehicle in to a player, if not I can send you the model.
#9
05/10/2006 (5:30 am)
Guys I just posted it. If you read the link above you will see that it explains how to create the vehivle as a player character and what you should do with it while modeling. I have gotten the code to work in my game. Let me know if you have any questions. Big _ Mojo at Yahoo.com
#10
05/10/2006 (5:47 am)
The real problem that I have is to make bone animations for a flying vehicle, it seems like flying vehicles don't support bones.
#11
05/10/2006 (5:55 am)
The real problem that I have is to make bone animations for a flying vehicle, it seems like flying vehicles don't support bones.
#12
05/10/2006 (6:18 am)
So you are making like a dragon or something?
#13
05/10/2006 (6:30 am)
Flying insects
#14
Http://www.garagegames.com/pg/product/view.php?id=19
05/10/2006 (7:36 am)
You know insects don't have bones... There is another thread that is dealing with the same issue. Why don't you just try doing a simple animation of the wings flapping as the animation for the insect flying forward? Also why don't you hit up these guys for more information they seem to have done it. Http://www.garagegames.com/pg/product/view.php?id=19
#15
To create a flying vehicle instead of a player you modify in your game.cs the createPlayer function:
Did that help you?
05/10/2006 (8:16 am)
My guess is it crashes because of the bones. What about a simple animation without bones? Should work also for flying vehicles. If I find time tonight, I'll try it with a simple animation in my game.To create a flying vehicle instead of a player you modify in your game.cs the createPlayer function:
...
// Create the player object
%player = new FlyingVehicle()
{
dataBlock = ScoutShip;
client = %this;
};
MissionCleanup.add(%player);
...Did that help you?
#16
I will get back to you on the progress of this, thanks for the help.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4348
05/10/2006 (8:27 am)
The problem is that I have a flying vehicle with bone animations, the guys who have made the environment pack is useing object animations and that is no problem for my. We have come across a resource for swiming that we might be able to modify in to doing what we want. I will get back to you on the progress of this, thanks for the help.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4348
#17
We will work with modifying the resource, but thanks for the help.
05/10/2006 (8:36 am)
The animations are to complex to solve with a simple animations, we need bones otherwise it will take 2-3 days to make each animation and we have about 15 animations for each character.We will work with modifying the resource, but thanks for the help.
#18
05/12/2006 (5:32 am)
Ok have solved the problem; You can do it like this make an invisible flying vehicle with a mounting point, then export your flying character as a dynamic shape with a mounting point in the model as well, then just mount the dynamic shape on to the invisible flying vehicle and thjoo you have a flying dynamic shape that you can do a bone animation for. If you feel like it, you can mount a player or what ever shape you like to the invisible flying vehicle.
Torque Owner Tim Heldna
ie
- Did the vehicle work before the animations?
- What modelling program are you using?
- What type of animations are you creating and how many?
- Did the console have any last words (unlikely)?
- Are all nodes, bounding box, mass and all things pertinent to a flying vehicle correctly set up?
- How many poly's?
etc