Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Follow player

Author
Message
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 29th Aug 2020 02:31
Ok so I've been developing a 3d game and have gotten to the point where monsters chase you and attack you. Just a couple monsters here and there. But still needed.

I got the monster to follow but the rotation is killing me.

If I rotate the monster rotates with me and all the way around me. I'm rotating the model on my Angy so I'm not sure what to do.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 29th Aug 2020 04:26 Edited at: 29th Aug 2020 04:27
SetObjectLookAt() is what you're looking for. In combination with MoveObjectLocallZ()
Make sure your 3D model is facing down the Z Axis
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 29th Aug 2020 04:33
Thank you so much I'm trying it out now

Login to post a reply

Server time is: 2024-03-28 10:45:16
Your offset time is: 2024-03-28 10:45:16