Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single player character collisions #3049

Closed
wants to merge 2 commits into from

Conversation

tritonas00
Copy link
Collaborator

@tritonas00 tritonas00 commented May 29, 2023

Single player character with actors collisions. New option added in top menu bar.

Demo: https://streamable.com/gttxum

@tritonas00
Copy link
Collaborator Author

tritonas00 commented May 29, 2023

To do: Make AI vehicle ignore the collided character or else if it stands too close in the front, it will try to avoid and turn, in Normal mode.

ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request May 30, 2023
This is an experimental spinoff from RigsOfRods#3049. I felt inspired.
Since the collision works by "sticking" the character to the actor while in contact, I realized I could extend our existing driver-attachment logic to also handle this attachment.��It's glitchy right now, partly because the networked cab offset is always in world coordinates, so it causes sliding when the vehicle turns.

Minor cleanup: removed the `enabled` param from `SetActorCoupling()` because it was dummy.
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request May 30, 2023
This is an experimental spinoff from RigsOfRods#3049. I felt inspired.
Since the collision works by "sticking" the character to the actor while in contact, I realized I could extend our existing driver-attachment logic to also handle this attachment.��It's glitchy right now, partly because the networked cab offset is always in world coordinates, so it causes sliding when the vehicle turns.

Minor cleanup: removed the `enabled` param from `SetActorCoupling()` because it was dummy.
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request May 30, 2023
This is an experimental spinoff from RigsOfRods#3049. I felt inspired.
Since the collision works by "sticking" the character to the actor while in contact, I realized I could extend our existing driver-attachment logic to also handle this attachment.��It's glitchy right now, partly because the networked cab offset is always in world coordinates, so it causes sliding when the vehicle turns.

Minor cleanup: removed the `enabled` param from `SetActorCoupling()` because it was dummy.
@ohlidalp
Copy link
Member

ohlidalp commented Jun 1, 2023

Closing this in favor of #3050 because there's a common issue - character slides when the vehicle turns - and I'm crafting a common fix.

@ohlidalp ohlidalp closed this Jun 1, 2023
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.

2 participants