playMaker

Author Topic: Parent Help  (Read 2147 times)

nabilfx

  • Full Member
  • ***
  • Posts: 186
Parent Help
« on: July 20, 2013, 11:57:15 AM »
The question is the picture attach.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Parent Help
« Reply #1 on: July 20, 2013, 12:14:14 PM »
You can use a Wait action and set a time in seconds.

Or if you're syncing to an animation, you could send events on the appropriate frame of the animation:
https://hutonggames.fogbugz.com/default.asp?W181

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: Parent Help
« Reply #2 on: July 20, 2013, 01:46:04 PM »
Ok, it work great!!
I would like to now if it possble to do the teapot like a Magnet, with 1 second animation, Because the Camera is always in movement, then i need the teapot get stuck to the camera for 2 second and goes back to their original position at the image target in 1 second.


KozTheBoss

  • Full Member
  • ***
  • Posts: 150
  • You dont fail unless you give up trying to succeed
    • Pixel Life - portfolio
Re: Parent Help
« Reply #3 on: July 21, 2013, 07:31:25 AM »
Doing some augmented reality are we? :)

I'm not sure what you mean by "magnet", but you could parent the teapot to the camera, that would make it follow the camera's movements. Then simply unparent the teapot and move it back to its original position (could save that as a vector3 before you parent it) or just move it to 0, 0, 0 which is my guess for its original position
Remember, you don't fail unless you give up trying to succeed!

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: Parent Help
« Reply #4 on: July 21, 2013, 08:43:54 AM »
I want to see if it is possible to make an animation in teapot parent until the camera instead of it already cuts straight to the camera.

I need an animation that I can control the parent, type 1 or 3 seconds, the way the parent teapot until the camera.