Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: bakuman365 on April 27, 2019, 08:36:42 AM

Title: pick up cube and drop in first person
Post by: bakuman365 on April 27, 2019, 08:36:42 AM
I'm new to playmaker, could really use some assist when a basic pickup object with "e" and drop with "e" running with a first person controller. Would anyone mind assist by providing an example.
UFABET (https://www.ufa365.com/สมัครสมาชิก/)
Title: Re: pick up cube and drop in first person
Post by: djaydino on April 28, 2019, 10:15:22 AM
Hi.
you can use a raycast to select the cube, then use set parent and parent to hand or player
if object has gravity, disable it on pickup and do a set velocity 0,0,0

Then to release the object use set parent and set to empty.
then enable gravity on the object again.