playMaker

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

heavygunner

  • Full Member
  • ***
  • Posts: 168
    • View Profile
[Solved] Child Object not rotating with Parent[SOLVED]
« on: January 07, 2019, 03: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, 12:28:15 AM by jeanfabre »

heavygunner

  • Full Member
  • ***
  • Posts: 168
    • View Profile
Re: [Solved] Child Object not rotating with Parent
« Reply #1 on: January 07, 2019, 03: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: 14684
  • Official Playmaker Support
    • View Profile
Re: [Solved] Child Object not rotating with Parent[SOLVED]
« Reply #2 on: January 23, 2019, 12:28:44 AM »
Hi,

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

 Bye,

 Jean