Posted by Raptor [JiB] on January 28, 1998 at 16:24:26:
In Reply to: WAIT! i know this command... posted by fiXXXer on January 28, 1998 at 15:34:35:
> try this
> ApplyForce(player,VectorScale(GetThingLVec(player), 80.0));
> 80.0 is the speed
> it also needs to be in a 0.2 pulse... or even less.
> this worked for me, but i didn't put it in kyle.cog
> fiXXXer
Yeah, I got it to work, but I used SetThingVel(player, etc.
Does this matter?
Also, Iwant to stop the player when they die, so I use SetThingVel(player, 0.0/0.0/0.0);
as this is the way that vectors are written in JED, but nothing happens. Do you need to input vectors in a different way when writing cog scripts?