Skip to content

Fix moving NPC vehicle pitch not synced - #1249

Open
Fanorisky wants to merge 2 commits into
openmultiplayer:masterfrom
Fanorisky:master
Open

Fix moving NPC vehicle pitch not synced#1249
Fanorisky wants to merge 2 commits into
openmultiplayer:masterfrom
Fanorisky:master

Conversation

@Fanorisky

Copy link
Copy Markdown

rotation sent in driver sync previously only used yaw, so moving npc vehicles looked flat instead of tilting toward their direction of travel.
now pitch is calculated from position vs target position while moving_, then combined with yaw before sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant