mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix(bow): initial orientation wrong for 1 frame
This commit is contained in:
parent
e404ea0d4f
commit
df4c4bbd5d
@ -210,7 +210,7 @@ impl Server {
|
||||
.create_entity_synced()
|
||||
.with(pos)
|
||||
.with(vel)
|
||||
.with(comp::Ori(Vec3::unit_y()))
|
||||
.with(comp::Ori(vel.0.normalized()))
|
||||
.with(body)
|
||||
.with(projectile)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user