Projectile Problems
by Ben Ewing · in Torque Game Engine · 04/24/2006 (7:09 pm) · 2 replies
Ok, Im having a bit of a problem with creating a projectile, and making go downwards, and what the rotation is doesnt seem to affect its direction, would anyone happen to know how to control that (the direction) :s
%p = new projectile() {
dataBlock = BasicOrb;
initialVelocity = $orbVelocity;
initialPosition = %orbX SPC %orbY SPC $orbHeight;
position = %orbX SPC %orbY SPC $orbHeight;
initialRotation = "1 0 0 90";
rotation = "1 0 0 90";
// sourceObject = %obj;
sourceSlot = 0;
// client = %obj.client;
};
Torque Owner Paul /*Wedge*/ DElia