Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Obi Cloth In Edit Mode
#4
(22-12-2020, 09:49 PM)berko Wrote: Hi, I tried bu unity crashes at m_SolverImpl.CollisionDetection(stepTime) at line 1396 in  obiolver. I could not figure out. I have modified FixedUpdater to run in EditMode.
FixedUpdate is not called in editor. Simply adding [ExecuteInEditMode] to an existing updater won’t do, you need to write your own and call its methods when necessary.

Also note that actors will need to have their Awake() method called. Will write an example for you.
Reply


Messages In This Thread
Running Obi Cloth In Edit Mode - by berko - 22-12-2020, 10:07 AM
RE: Running Obi Cloth In Edit Mode - by berko - 22-12-2020, 09:49 PM
RE: Running Obi Cloth In Edit Mode - by josemendez - 23-12-2020, 08:29 AM
RE: Running Obi Cloth In Edit Mode - by berko - 23-12-2020, 09:32 AM