Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: stigma on August 08, 2023, 05:20:32 AM
-
Hi,
I'm using actions that work well to modify objects, but cannot move the Player to a given position. The action is validated but the player does not move.
(https://www.maximages.fr/forums/3D/playmaker/deplacement.png)
-
Hi.
Maybe space need to be set to world.
Maybe you have some character movement interfering (try disabling that)
-
self or world does not change anything
yet I can move it with a Get Key Down. But I want to act with a mouse click on an object
(https://www.maximages.fr/forums/3D/playmaker/playmaker2.png)
-
On the last image, you use 'Use Owner'
The other one you are targeting an object (character controller)
if that character controller is used with a Contoller (Simple) Move action.
you might need to disable that while moving the character.
as far as i know the character controller uses translate, which might prevent you to move the object.
-
I tried using a global variable but I still don't know how to move my player when it clicks on another object :-\
-
hi, do you mean like a teleport or you want the player be click to move?
-
Yes that's it. Example. The player clicks on an object to be teleported elsewhere.
-
hi.
on the 2nd image the action is set to use owner.
on the first its targeting a first person controller object.
If you did not set your own controller movement and you are using a character controller you probably need to disable the component and then set the position, then enable the controller again
-
the second image was just to show how I was doing before. It should not be taken into account.
-
but you are using a character controller?
-
yes, an ordinary character
I just want to teleport him when he clicks on a GameObject
Edit:
I succeeded by using an intermediate variable.