playMaker

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

DeerHunter

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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • jinxtergames
Re: Problems with Cannon I made
« Reply #1 on: April 15, 2017, 12: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.
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

DeerHunter

  • Playmaker Newbie
  • *
  • Posts: 10
    • View Profile
Re: Problems with Cannon I made
« Reply #2 on: April 17, 2017, 01: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
    • View Profile
Re: Problems with Cannon I made
« Reply #3 on: April 17, 2017, 12: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
    • View Profile
Re: Problems with Cannon I made
« Reply #4 on: April 18, 2017, 04:16:30 AM »
Thank you I solve this problem by using rotate.