-
-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Description
import ursina
app = ursina.Ursina(window_type="none")
ground = ursina.Entity(model="plane", collider="mesh", scale=1000)
print(ursina.raycast(ursina.Vec3(5, 15, 0), ursina.Vec3(0, -1, 0)).hit)
ursina.destroy(ground)
ground = ursina.Entity(model="plane", collider="mesh", scale=1000)
print(ursina.raycast(ursina.Vec3(5, 15, 0), ursina.Vec3(0, -1, 0)).hit)
results in
True
False
but surely both should be true.
This is on Ursina 7.0.0 but also happens on current master 97797d6.
PS Since I keep running into issues involving destroy involving level reloading (= destroy the previous level and create a new level), do you have any suggestions on what I could do differently?
Metadata
Metadata
Assignees
Labels
No labels