Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoroz authored Jul 26, 2024
1 parent 5633ef7 commit 1b9dfe3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ursina/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ def _convert_shape(shape, entity, dynamic=True):
ground = Entity(model='plane', texture='grass', scale=30)
RigidBody(shape=PlaneShape(), entity=ground)

cube = Entity(model='cube', texture='white_cube', y=7)
cube = Entity(model='cube', texture='white_cube')
# cube.rotation = Vec3(0,45,68)
# cube.scale = Vec3(.5)
cube.y = 7
cube_body = RigidBody(shape=BoxShape(), entity=cube, mass=1)

sphere = Entity(model='sphere', texture='brick', y=30)
Expand Down

0 comments on commit 1b9dfe3

Please sign in to comment.