Hmmm...OK(nt)


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Raptor [JiB] on January 28, 1998 at 13:57:36:

In Reply to: Re: I can't keep up...thanks (nt) posted by CogKing on January 28, 1998 at 13:55:33:


> > Say a speed of about 10, always in the direction the player is facing. Any ideas?
> Yuck... the player is a physics thing. You would have to remove his gravity,
> then set his speed with SetThingVel() every 0.05 second or so. There is a
> cog verb to get the facing : GetThingLVec() or something...
> -CogKing

> For when you catch up :-)

> Don't use the return value of GetThingLVec() as is, you have to normalize
> the vector and then scale it to the speed you want. Like :

> VectorScale(VectorNorm(GetThingLVec(GetLocalPlayerThing())), 10)

> -CogKing




Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]