behavior problem
by Anthony Ratcliffe · in Torque Game Builder · 05/04/2009 (6:25 pm) · 3 replies
using the shoot and takes damage behavior im having problems the projectile seems to collide with the player is there a way of making an offset within the behavior so it does not fire from the middle of the player?
About the author
#2
you could change the projectile position like this
05/07/2009 (10:09 pm)
Instead of using something like%projectile.setPosition(%this.owner.position);
you could change the projectile position like this
%projectile.setPositionX(%this.owner.getPositionX() + 5); %projectile.setPositionY(%this.owner.getPositionY() + 5);
#3
05/14/2009 (6:39 pm)
i used this it worked well however whent he player swivels 180 degrees its not shoots him in the back, even tho its updating the player position
Torque Owner Anthony Ratcliffe