Skip to content

Commit

Permalink
actor builder always builds physx actor
Browse files Browse the repository at this point in the history
  • Loading branch information
fbxiang committed Nov 7, 2023
1 parent edeb751 commit 6365e83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/py_package/wrapper/actor_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ def build_entity(self):
entity = sapien.Entity()
if self.visual_records:
entity.add_component(self.build_render_component())
if self.collision_records:
entity.add_component(self.build_physx_component())
entity.add_component(self.build_physx_component())
entity.name = self.name
return entity

Expand Down

0 comments on commit 6365e83

Please sign in to comment.