Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: t4d on April 19, 2016, 05:41:17 AM
-
getting these errors when trying add force to a Rigidbody
using the latest Beta 1.8.1.f4
Can't add script behaviour PlayMakerFixedUpdate. The script needs to derive from MonoBehaviour!
UnityEngine.GameObject:AddComponent()
PlayMakerFSM:AddEventHandlerComponent(HideFlags)
PlayMakerFSM:AddEventHandlerComponents()
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
---------------------------------------------------------------------
NullReferenceException: Object reference not set to an instance of an object
PlayMakerFSM.AddEventHandlerComponent[PlayMakerFixedUpdate] (HideFlags hide)
PlayMakerFSM.AddEventHandlerComponents ()
PlayMakerFSM.Init ()
PlayMakerFSM.Awake ()
-
seem like a Physics issue
but if a create the object a run time as a prefab I get the add Force action now wanting to added a Rigidbody to a prefeab that already has a Rigidbody ??
can anyone help explain ?
basicly I want a falling object (player) that i can control by adding force to it as it falls is there a better way to do this ?
-
Hi,
I can't repro this.
If you try on a fresh project, is it reproduceable? just one scene, one cube, one fsm? if that's the case, send us the project we'll try to repro here and fix it if it necessary.
Bye,
Jean
-
Thanks Jean
sorry for the muilt posts
I didn't have the Globals Object as a null and didn't have my FSM off the main object
Thanks Your a Legend Jean 8)