Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on December 31, 2013, 11:51:16 AM

Title: Actor::updateMassFromShapes:
Post by: blackant on December 31, 2013, 11:51:16 AM
Hi,

i have a problem wich make stop playing th game and i don't really understand  what i should do.

here is the log message:
Code: [Select]
Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually!
UnityEngine.Transform:set_parent(Transform)
HutongGames.PlayMaker.Actions.SetParent:OnEnter() (at C:/Users/skmskm/Desktop/Excamedia - A clumsy Adventure v0.3.4/Assets/PlayMaker/Actions/SetParent.cs:38)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:UpdateState(FsmState)
HutongGames.PlayMaker.Fsm:Update()
PlayMakerFSM:Update()


and for more info it seams this bug appear when i create an object from a prefab made with a quad or a plane from unity and i try to parent it to my Animated Character
Title: Re: Actor::updateMassFromShapes:
Post by: jeanfabre on January 02, 2014, 06:05:39 AM
Hi,

 this is a problem within Unity and your mesh is not proper and valid for a physics collision collider.

Typically try to use a box collider if it's a plane or a flat mesh or single triangle.

http://answers.unity3d.com/questions/7841/what-does-the-compute-mesh-inertia-tensor-failed-e.html

http://answers.unity3d.com/questions/14497/actorupdatemassfromshape-error.html

bye,

 Jean