Zero G - how?
by Jaba Adams · in Torque Game Engine · 03/21/2005 (8:18 pm) · 1 replies
Hi folks,
I finally started to play with Torque after buying it some months ago. What I want to do is to create a space scene that's empty, except for a few asteroids.
I started by making a copy of stronghold.mis, and removing the TerrainBlock. This works okay, except that I now fall out of the world. So, my next task is to "turn off gravity".
I tried doing this by adding a PhysicalZone to the mission, but it doesn't seem to do anything. Does anyone have suggestions? Is there in fact a mission-wide gravity value that I can turn off? I'd prefer to do this than to tweak individual scene objects.
Here's the PhysicalZone I'm using:
Thanks!
I finally started to play with Torque after buying it some months ago. What I want to do is to create a space scene that's empty, except for a few asteroids.
I started by making a copy of stronghold.mis, and removing the TerrainBlock. This works okay, except that I now fall out of the world. So, my next task is to "turn off gravity".
I tried doing this by adding a PhysicalZone to the mission, but it doesn't seem to do anything. Does anyone have suggestions? Is there in fact a mission-wide gravity value that I can turn off? I'd prefer to do this than to tweak individual scene objects.
Here's the PhysicalZone I'm using:
new PhysicalZone(ZeroGZone) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
velocityMod = "1";
gravityMod = "0";
appliedForce = "0 0 0";
polyhedron = "-500 -500 -500 500 500 500";
};Thanks!
About the author
Torque Owner arda
Dynamic and Individualized Gravity resource at
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1723
I did not tried it but I hope it helps.