SandMouseAnarchy Posted October 31, 2018 Share Posted October 31, 2018 I'm looking at making the player rotate more horizontally (in third person) when going forward using the jetpack, does anyone know a way to do this? Link to comment Share on other sites More sharing options...
pra Posted October 31, 2018 Share Posted October 31, 2018 I think you would need to make an animation for that, and then make the player play it. actually rotating will be probably impossible. Link to comment Share on other sites More sharing options...
SandMouseAnarchy Posted October 31, 2018 Author Share Posted October 31, 2018 Damn, I'll have to look into that then :) thanks for the reply mate :) Link to comment Share on other sites More sharing options...
SKKmods Posted October 31, 2018 Share Posted October 31, 2018 Howabout stop frame type firing a loop of setangle Z +=1 on the player. See what hapens. Link to comment Share on other sites More sharing options...
SandMouseAnarchy Posted October 31, 2018 Author Share Posted October 31, 2018 Perfect ^.^ I'll try that out as soon as possible, something like setangle Z is exactly the kind of solution I was hoping for.Thanks SKK50! Link to comment Share on other sites More sharing options...
pra Posted October 31, 2018 Share Posted October 31, 2018 I'm pretty sure Z is the vertical axis. wait. how exactly do you want to rotate character? Link to comment Share on other sites More sharing options...
SandMouseAnarchy Posted October 31, 2018 Author Share Posted October 31, 2018 Pra - I want the character to be rotated horizontally so the character is facing down (in third person) (like superman or like swimming) :) Link to comment Share on other sites More sharing options...
pra Posted October 31, 2018 Share Posted October 31, 2018 so yes, I understood your correctly. you would then need the X or Y achsis.but I doubt this even works on actors... Link to comment Share on other sites More sharing options...
SandMouseAnarchy Posted October 31, 2018 Author Share Posted October 31, 2018 Well, thanks Pra :) Link to comment Share on other sites More sharing options...
SKKmods Posted October 31, 2018 Share Posted October 31, 2018 Setangle works on actors fine, I use it a lot to ensure spawns face the player.ThisActorREF.SetAngle(ThisActorREF.GetAngleX(), ThisActorREF.GetAngleY(), (ThisActorREF.GetAngleZ() + fHeading) ) ; hostile faces playerQuestion is does it work on the PLAYER ? You'll need to test that in your view context. For superman flight your looking at the Pitch axis which is X. Link to comment Share on other sites More sharing options...
Recommended Posts