Jump to content
  • 0

A_SpawnItemEx player velocities and pitch (spawning projectile)


skaarjman

Question

How does one make A_SpawnItemEx add player velocities to a spawned projectile.

In wiki it says "SXF_TRANSFERPITCH - transfers the calling actor's pitch to the spawned actor. Note that this has no effect on the spawned actor's velocities"

 

A_SpawnItemEx ("wMatch",cos(pitch)*8,4,38-(sin(pitch)*12),cos(pitch)*frandom(5,8),0,-sin(pitch)*frandom(5,8),0,SXF_TRANSFERPITCH).

 

Is there are a way to make this function to have effect on actor's velocities ? 

 

Share this post


Link to post

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...