Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Sid on June 12, 2021, 10:09:12 AM

Title: SmoothLookAt with offset request (SmoothLookAtWithOffset).
Post by: Sid on June 12, 2021, 10:09:12 AM
Good day.

Could anyone help us add an offset object to the default SmoothLookAt? 

We need to rotate a character so that the character's weapon points at the target.

Thanks so much to this great community.  We appreciate you immensely.

Title: Re: SmoothLookAt with offset request (SmoothLookAtWithOffset).
Post by: jeanfabre on June 16, 2021, 12:43:30 AM
Hi,


have you tried the action Vector3RotateTowards ? you can control speed.

usually, for such system, I compose using a one object that move towards the target, and then I have my player or turret to look at the object moving towards the target, it gives me more flexibility and ways to debug this way.

 have you tried like that?

Bye,

 Jean
Title: Re: SmoothLookAt with offset request (SmoothLookAtWithOffset).
Post by: Sid on June 16, 2021, 07:19:08 PM
Thanks so much for the reply, Jean.  You're a true hero.

This site lays out our problem really well:
https://gamedev.stackexchange.com/questions/133977/how-can-i-rotate-an-object-based-on-anothers-offset-to-it

I know you're busy.  If you or anyone gets a chance to take a crack at this, it would be truly appreciated and is so desperately needed.

Thanks again to everybody.