playMaker

Author Topic: Actor::updateMassFromShapes:  (Read 3861 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Actor::updateMassFromShapes:
« 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
« Last Edit: December 31, 2013, 12:38:01 PM by blackant »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Actor::updateMassFromShapes:
« Reply #1 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