Jump to content

Home

How do I set the position of a entity?


Recommended Posts

You shouldn't need to G_InitEntity.

 

G_SetOrigin should work if you know an origin to set it to, like say the player's origin and then maybe move it out a ways by factoring in the YAW portion of viewangles.

 

you dont use G_SetOrigin(yournewentity, yournewentity->s.origin) you would choose some local variable or base it off of something that already exists.

Link to post
Share on other sites
×
×
  • Create New...