Update angle in 2D physics

This commit is contained in:
oakes
2014-05-11 14:59:10 -04:00
parent 9b0604fa42
commit 6729d0a32b

View File

@@ -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)))