Update angle in 2D physics
This commit is contained in:
@@ -263,6 +263,7 @@ such as :on-begin-contact."
|
|||||||
(if (u/get-obj e :body)
|
(if (u/get-obj e :body)
|
||||||
(assoc e
|
(assoc e
|
||||||
:x (body-x e)
|
:x (body-x e)
|
||||||
:y (body-y e))
|
:y (body-y e)
|
||||||
|
:angle (body-angle e))
|
||||||
e))
|
e))
|
||||||
entities)))
|
entities)))
|
||||||
|
|||||||
Reference in New Issue
Block a user