Skip to content

Commit

Permalink
fixed animating RigidBody not working because of the recent animate c…
Browse files Browse the repository at this point in the history
…hange enabling shader input animation.
  • Loading branch information
pokepetter committed Nov 1, 2024
1 parent fcee2ef commit 4362c3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ursina/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ class _PhysicsBody:
animate_scale_y = Entity.animate_scale_y
animate_scale_z = Entity.animate_scale_z

_getattr = Entity._getattr
_setattr = Entity._setattr

def __init__(self, name: str, world):
self.world = world
self.attached = False
Expand Down

0 comments on commit 4362c3d

Please sign in to comment.