playMaker

Author Topic: [Solved] Child Object not rotating with Parent[SOLVED]  (Read 1047 times)

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
[Solved] Child Object not rotating with Parent[SOLVED]
« on: January 07, 2019, 05:19:02 PM »
Hi !

On my game, Player will get the gun once he triggered gun. Once triggered, Deactivated gun child object will be activated.

Model is looking at front as I set. But, Gun model's Z-Direction is always looking at Scenes Z-Direction.

It causing lot of trouble when firing bullets.

Help me :(
« Last Edit: January 23, 2019, 02:28:15 AM by jeanfabre »

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: [Solved] Child Object not rotating with Parent
« Reply #1 on: January 07, 2019, 05:46:37 PM »
Just realized that Z-axis of gun doesn't matter.
What I set is , Travel Bullet in Z-axis in World space. I set World Space to Self. Now, working fine.

Hours of struggle came to an end ;)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [Solved] Child Object not rotating with Parent[SOLVED]
« Reply #2 on: January 23, 2019, 02:28:44 AM »
Hi,

 cool, yeah sometimes it takes time to figure these things out... :) never give up!

 Bye,

 Jean