Announcement

Collapse
No announcement yet.

Spawning Actor at location with proper rotation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by novellof View Post
    the problem is the direction of the impulse now UGHHH***
    The direction of the impulse could just be GetActorRightVector, that way it always goes to the right (relative to itself). GetActorRightVector will give you a unit vector, so you'd need to multiply it by the power of the impulse.
    Last edited by Jamendxman3; 03-17-2019, 04:43 PM.

    Leave a comment:


  • replied
    the problem is the direction of the impulse now UGHHH***

    Leave a comment:


  • replied
    You can probably just use the 'Get Socket Rotation' function and use that rotation YAW value when spawning; you could also just use the character's yaw rotation if the socket rotation doesn't give you the value you want.

    Leave a comment:


  • started a topic Spawning Actor at location with proper rotation

    Spawning Actor at location with proper rotation

    Hey guys i have bullet shells that eject from my weapon but they are not spawning with the correct rotation. Can you guys please help me spawn the actor at the correct rotation PLEASEEE Below is a video of me rotating the player and the bullet shells are not spawning with the correct rotation...

    https://youtu.be/JddU9SrzOlw

Working...
X