playMaker

Author Topic: Problems with Cannon I made[SOLVED]  (Read 1629 times)

DeerHunter

  • Playmaker Newbie
  • *
  • Posts: 10
Problems with Cannon I made[SOLVED]
« on: April 15, 2017, 02:48:55 AM »
I made a Cannon, However, after shooting, the rotation of my cannon changed randomly
« Last Edit: April 19, 2017, 03:08:21 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Problems with Cannon I made
« Reply #1 on: April 15, 2017, 03:02:09 AM »
Hi.
It might be because of the cut to camera action.

try turning of Cut back on exit and make another state and use cut to camera to go back to your main camera or the camera you want to.

If it is stil the same, try to put a state in between with a 'next frame even' action.

DeerHunter

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Problems with Cannon I made
« Reply #2 on: April 17, 2017, 04:31:00 AM »
First solution doesn't fix the problem, and I am not quiet understand your 2nd solution, Would you elaborate 2nd solution?

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: Problems with Cannon I made
« Reply #3 on: April 17, 2017, 03:03:35 PM »
you should rectify the 1 error in i see on the picture as that could be the cause, secondly the mouse look could also have an effect, what object are you rotating with it?, thirdly the prefab itself could have an awkward rotation so you might have to set the rotation in the "create object" action, fourthly in reference to his second solution, theres an action called "next frame event " which is used to avoid  events overlapping or overlooping in a single frame and so it causes the event to take place in the next frame

DeerHunter

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Problems with Cannon I made
« Reply #4 on: April 18, 2017, 07:16:30 AM »
Thank you I solve this problem by using rotate.