Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: madfires on August 07, 2021, 01:02:22 PM

Title: BlendShapes with Mouse Position
Post by: madfires on August 07, 2021, 01:02:22 PM
hi there!

I'm wondering how should I go about making FSM that affects BlendShapes with Mouse Position. So Idea is the closer the mouse gets to the object the more BlendShape value gets.

Final result should be that mouse hovers over an eye and it opens more the closer mouse gets. Setup is that Camera is locked in 3d game.

Any help would be greatly appreciated
Title: Re: BlendShapes with Mouse Position
Post by: madfires on August 11, 2021, 05:02:22 AM
ok I managed to sort it out with Brokn on discord helping me out!

this is how I managed to do it
Added follow object on cursor. Get distance.  Float remap.  Found out what distance works with debug. And added Set BlendShape, that's it!
Title: Re: BlendShapes with Mouse Position
Post by: djaydino on August 11, 2021, 07:29:50 AM
Hi.
Thanks for sharing the solution.  :)
Title: Re: BlendShapes with Mouse Position
Post by: madfires on August 11, 2021, 12:02:39 PM
no problem, figured someone might search for it and would not need to make a new post about it  ;D