anyone know how to get things to stick to your character?
I want my little rectangular block player to be able to pick up a small rectangular gun off the ground, how do i get the gun to stick to my player so it kind of looks like hes carrying it?
i also wanted to give my player little block eyes too if i could
i also wanted to give my player little block eyes too if i could
Best Answer
-
ashtmj Posts: 405
you need to make 2 Real global attributes
PLAYER X
PLAYER Y
then constrain them to the player's X and player's Y location
then constrain what ever objects, gun, etc. to those 2 attributes
Answers
But for performance sake, youre better off just resizing the actor and changing its image to show it holding a block.
Ace
but i guess the way you do that is constraining x y , vel xy, and angular velocity, at least i think, havent tried yet though