decoy1212 Posted August 22, 2017 Share Posted August 22, 2017 Hi. Can anyone please assist with TASK_TURN_PED_TO_FACE_ENTITY or face COORD or something i might have missed. Idea is to get the spawned ped to face the same direction as Player. Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2017 Share Posted August 22, 2017 (edited) Have you tried setting the Rotation value of the Ped, to the same as the player? SpawnedPed.Rotation = Game.Player.Character.Rotation; Edited August 22, 2017 by Guest Link to comment Share on other sites More sharing options...
decoy1212 Posted August 24, 2017 Author Share Posted August 24, 2017 Thank you Lee. "Looks" like i wasnt aware of the ".Rotation". It does do exactly that. But the Ped rotation transition is not impressive. So i opted for TASK_FOLLOW_TO_OFFSET_OF_ENTITY. atleast this way the Ped is closer and mostly faces the same direction as Player. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now