Hi,
I try to bend, rotate around the horizontal axis, my unit forward by 10-20° permanently but I cant get the site operator (explicit rotation) to work. could someone help me out with that?
I don't know if that's possible to do to a unit actor.
Another way of going about it, though, would be to give the unit an invisible model, and attach a separate model actor to the unit actor. Then that model actor can be rotated with whatever explicit rotation you want.
aint that a bit of an overkill. the site operator works. but not the way I want it to. it always rotate around the vertical axis and then the unit doesnt look in the direction it moves. it keeps it rotation and i dont know why.
Add a explicit rotation site operation to the unit's site operation. Alter the explicit rotation's top Y and bottom Z values to tilt it forward (or back).
Ok there can be a few causes for this issue. Firstly the model has a tilt plane set under the models data type so it tips with the terrain, secondly the attachment point is wonky like if you attach to a beam so movement causes it to shift. Another possibility is the amount you have tilted it is conflicting with a -ve/+ve plane so it is switching, to fix this means you just need to define the up vector as well as the forward. You set the rotation to Is Local (probable cause)?
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
holy sh*%. didnt know that so many stuff effects the actor. I'm talking about the terra tron unit. it always looks like its leaning backwards so I wanted to "revert" that. Could you take a look at that? Kind of busy with real life right now so it will take a while until I will work on that again.
I basicly just want the stand animation to be rotated forward (10° to 12°). see the picture.it shows the terra tron unit from the side and the angle. the other picture shows how it normally looks. does it help?
As stated in the aforementioned wiki the up represents the vector the top of the model points in while the forward vector represents the vector the front of the model points in around the up axis.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
yeah I got that from the names. but why do I have to set the forward vector. since the wiki describes the up vector like this Tilts the vertical axis of the model so the top of the model points parallel with the desired direction it sounds like only the up vector is needed (in the case of my problem). can you explain how they are combined/connected ?
Because when the up or forward crosses an axis plane caused by the model moving over uneven terrain or just being rotated it tends to invert on that axis causing problems unless given specified direction. My windmill doodad had that issue (+ve/-ve z plane is worst for that). Ironically in solving that I discovered how to use the vector SOps to animate models lacking their own.
The up determines the direction of the z while the forward determines the rotation of the y around the z.
Hi,
I try to bend, rotate around the horizontal axis, my unit forward by 10-20° permanently but I cant get the site operator (explicit rotation) to work. could someone help me out with that?
@Shieldnutzz: Go
I don't know if that's possible to do to a unit actor.
Another way of going about it, though, would be to give the unit an invisible model, and attach a separate model actor to the unit actor. Then that model actor can be rotated with whatever explicit rotation you want.
@MasterWrath: Go
aint that a bit of an overkill. the site operator works. but not the way I want it to. it always rotate around the vertical axis and then the unit doesnt look in the direction it moves. it keeps it rotation and i dont know why.
It is possible.
Add a explicit rotation site operation to the unit's site operation. Alter the explicit rotation's top Y and bottom Z values to tilt it forward (or back).
@TyaStarcraft: Go
What do you mean with top and bottom?
Forward and Up?
wiki - ex. rotation
Any ideas about the values?
There are two sets of XYZ values. One set is at the top, the other set is at the bottom.
Ok there can be a few causes for this issue. Firstly the model has a tilt plane set under the models data type so it tips with the terrain, secondly the attachment point is wonky like if you attach to a beam so movement causes it to shift. Another possibility is the amount you have tilted it is conflicting with a -ve/+ve plane so it is switching, to fix this means you just need to define the up vector as well as the forward. You set the rotation to Is Local (probable cause)?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
holy sh*%. didnt know that so many stuff effects the actor. I'm talking about the terra tron unit. it always looks like its leaning backwards so I wanted to "revert" that. Could you take a look at that? Kind of busy with real life right now so it will take a while until I will work on that again.
It has several animations that alter how it tilts.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
can you tell me where these alterations are?
Under the events for the actor you can set what animations are played. Default is Stand A which leans back, try Stand B.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I change the baseline of the actor but the transition between standing and walking looks terrible. Looks like this problem cant be solved.
Maybe a better description of the problem would help?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I basicly just want the stand animation to be rotated forward (10° to 12°). see the picture.it shows the terra tron unit from the side and the angle. the other picture shows how it normally looks. does it help?
Use a SOp (Explicit Rotation). Set forward to be y -1 and z - something and the up to be z 1 and y - something. Also make sure is local is enabled.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
thanks. exactly what I needed. any way to improve the wiki of Explicit Rotation. I tried several values but I dont get what Up and Forward represent.
As stated in the aforementioned wiki the up represents the vector the top of the model points in while the forward vector represents the vector the front of the model points in around the up axis.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
yeah I got that from the names. but why do I have to set the forward vector. since the wiki describes the up vector like this Tilts the vertical axis of the model so the top of the model points parallel with the desired direction it sounds like only the up vector is needed (in the case of my problem). can you explain how they are combined/connected ?
Because when the up or forward crosses an axis plane caused by the model moving over uneven terrain or just being rotated it tends to invert on that axis causing problems unless given specified direction. My windmill doodad had that issue (+ve/-ve z plane is worst for that). Ironically in solving that I discovered how to use the vector SOps to animate models lacking their own.
The up determines the direction of the z while the forward determines the rotation of the y around the z.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Ok. so the forward vector forces the forward direction of the model not being affected by terrain.