Skip to content

ursina.physics_engine not available #397

Answered by pokepetter
lyubomyrk asked this question in Q&A
Discussion options

You must be logged in to vote

This has been accidentally included in the documentation. Probably from that one time I accidentally committed all changes and pushed before noticing :)) Will remove.
For gravity you just move the entity down every frame. Depending on the use case you might want to make it fall faster over time too. You can do a collision check to see if it's on the ground or not, with raycast or intersects, and stop it if it is.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JamesParkerStrand
Comment options

Answer selected by lyubomyrk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants