Hello, I have a bit of a problem and I was wondering if someone could help me.
Basically I want to change a unit's pitch angle over time slowly. In other words, for one of my abilities I want a unit's actor to slowly face upwards and then slowly face downwards. I want the change in pitch to be gradual and not sudden. Now there are two ways I know of to change the pitch angle of a unit:
1. Create a site operation actor and attach it to the unit's main actor through host site operations.
- This has the advantage of permanently changing the unit's pitch and the pitch is maintained even as the unit moves around. However, this only works for one angle and there is no way that I know of to change a unit's host site operator in game. Maybe my effect could be possible if I used a site (rocker) actor similar to how graviton beam works. However, i'm not really sure how the site (rocker) actor works exactly (and couldn't find a thread on it).
2. Use the actor event "set rotation" either through triggers or through actor events.
- I might be able to get the effect I want if I used a trigger that changes the actor's rotation several times per second. However, the biggest problem with this is that if you use set rotation, and then move your unit, the rotation is lost! I want to be able to change the actor's pitch angle but be able to move my unit at the same time.
I've looked at other threads on changing pitch or yaw angles but none of them could solve this problem (of changing actor angle slowly over time and not losing that angle while your unit moves).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello, I have a bit of a problem and I was wondering if someone could help me.
Basically I want to change a unit's pitch angle over time slowly. In other words, for one of my abilities I want a unit's actor to slowly face upwards and then slowly face downwards. I want the change in pitch to be gradual and not sudden. Now there are two ways I know of to change the pitch angle of a unit:
1. Create a site operation actor and attach it to the unit's main actor through host site operations. - This has the advantage of permanently changing the unit's pitch and the pitch is maintained even as the unit moves around. However, this only works for one angle and there is no way that I know of to change a unit's host site operator in game. Maybe my effect could be possible if I used a site (rocker) actor similar to how graviton beam works. However, i'm not really sure how the site (rocker) actor works exactly (and couldn't find a thread on it).
2. Use the actor event "set rotation" either through triggers or through actor events. - I might be able to get the effect I want if I used a trigger that changes the actor's rotation several times per second. However, the biggest problem with this is that if you use set rotation, and then move your unit, the rotation is lost! I want to be able to change the actor's pitch angle but be able to move my unit at the same time.
I've looked at other threads on changing pitch or yaw angles but none of them could solve this problem (of changing actor angle slowly over time and not losing that angle while your unit moves).