playMaker

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

blackant

  • Sr. Member
  • ****
  • Posts: 422
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Actor::updateMassFromShapes:
« on: December 31, 2013, 09: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, 10:38:01 AM by blackant »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14207
  • Official Playmaker Support
    • View Profile
Re: Actor::updateMassFromShapes:
« Reply #1 on: January 02, 2014, 04: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