(v bool)
| 147 | } |
| 148 | |
| 149 | func (p *Entity) SetOnGround(v bool) { |
| 150 | p.onGround.Store(v) |
| 151 | } |
| 152 | |
| 153 | func (p *Entity) Position() (x, y, z float64) { |
| 154 | return math.Float64frombits(p.x.Load()), math.Float64frombits(p.y.Load()), math.Float64frombits(p.z.Load()) |