-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I'm studying how this library works and I'm facing a situation where I Need to reset the position of a robot after some conditions.
I see that in an example to achieve this, the object gets destroyed and recreated as such:
if (robot != null)
DestroyImmediate(robot);
Simulation.Instance.Native.garbageCollect();
m_isDisabled = false;
robot = Instantiate(Resources.Load<GameObject>("IRB6700_220_265_SW6_LeanID"));
InitializeRobot();I can't use this approach due to performance issues, is there any proper way to implement this?
Metadata
Metadata
Assignees
Labels
No labels