playMaker

Author Topic: Child delayed movement  (Read 4817 times)

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Child delayed movement
« on: December 31, 2013, 11:38:41 AM »
 Hi.

I want to delay a child object for another child object.

Thx

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #1 on: January 02, 2014, 05:34:58 AM »
Hi,

 I would not use childs here but free floating objects and apply a different angular speed.

 IF you want the whole rig to move, simply move all three objects to the same position or translate them the same. OR have them all attached to a higher game object acting as a dummy.

bye,

 Jean

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #2 on: January 04, 2014, 12:56:59 PM »
The parent object is a Character Controller. The childs must follow the mouse
movements with a delay.

I tried to do your setups but don´t know how make them work.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #3 on: January 06, 2014, 09:14:12 AM »
Hi,

Then I would use the action "Move Towards", it's very simply, you give it a target ( your player), and set the Finish Distance to 0 so that it never stops catching up, lower the speed to slow down the catch up.

If you have still problems, let me know, I'll do a working sample.

bye,

 Jean

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #4 on: January 06, 2014, 10:15:40 AM »
 Hi,

 I think I didn´t explain it right. Or I did wrong.

What I need is the Crosshair to catch the points. All of them , crosshair and points
to catch , childs of the Player. So the Points must be move (rotate from camera)
slowly than the crosshair ( or crosshair faster)  then go to the original position.

Thx

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #5 on: January 10, 2014, 05:55:49 AM »
Hi,

 I am not sure I make sense of this.

what are the "points", is it gameobjects in your 3d game?

Bye,

 Jean

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #6 on: January 10, 2014, 06:47:35 AM »
Thank you very much for your patience.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #7 on: January 10, 2014, 07:29:49 AM »
Hi,

 ok, and how is the red object moved? is it using user input or following another gameobject?

bye,

 Jean

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #8 on: January 10, 2014, 07:36:37 AM »
The red object it´s a plane and blues obj too. They are  linked to the player´s camera, used ass a crosshair.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #9 on: January 10, 2014, 08:14:29 AM »
Hi,

 ok, my question is actually on how the red object is controlled, it moves on screen right? but what is the meaning of it in your game? is it used to give feedback to the user given it input? or is it following an object in the 3d world,

bye,

 Jean

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #10 on: January 10, 2014, 09:45:41 AM »
They follow the player controller position and rotation.
They are lincked to the camera,so they move along the character and rotates by the camera.
So, all the objects move together(Compound crosshair), but I need some kind of way to make the red object to point (touch) the blues ones, for a very short period of time, then back to the center.

P.e:
If it is a crosshair for a weapon, doing a fast movement (of mouse) the red crosshair, catch a blue points for .... reload a new weapon or bullets ...
on the way, not using keys or spawn points.

In the past I used Quest 3D, with a command called "inertia" you could do something like this, its like a delay. Also using "Delta x, y or z " this gets the speed of the mouse in a movement. (Forget all this if it´s no useful)

Kothe

  • Junior Playmaker
  • **
  • Posts: 71
Re: Child delayed movement
« Reply #11 on: January 15, 2014, 06:04:05 AM »
Hi.

I have been trying many things but not success.

No one ?

Thx

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Child delayed movement
« Reply #12 on: January 21, 2014, 06:34:41 AM »
Hi,

 I can't really make sense of this unfortunatly.

 If you need an example to implement an inertia, I can do that, then you can apply it however you want in your setup. ok?

 -- I can do a gameobject in the world, and a 2d gui element will follow that gameobject smoothly

-- I can do a 2d element that goes to specific point on screen and back using some inertia ( no link with the 3d world content)

Which one seems to be matching the most?


bye,

 Jean