Is there a way I could add a physics shape and set the mesh of an entity and if the shape is a trigger?
a code example would be very appreciated
EntityManager.AddComponentData(Entity, new physicShape??{Variable = ?? });
Is there a way I could add a physics shape and set the mesh of an entity and if the shape is a trigger?
a code example would be very appreciated
EntityManager.AddComponentData(Entity, new physicShape??{Variable = ?? });
I posted an example script in this thread Making a Door in Unity ECS should help you on the right track
thank you