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

New Prefabs and anchor logic #167

Merged
merged 47 commits into from
Jan 12, 2025
Merged

Conversation

zolantris
Copy link
Owner

@zolantris zolantris commented Dec 13, 2024

Features

  • Adds porthole windows 3 types of walls. 1 4x4 floor variant.
  • Adds actual VehicleAnchors that are fully animated + logic to prevent anchoring unless vehicle is equipped with one.
    • This should eliminate player confusion why they cannot move their ship and also allow not anchoring if folks do not like that logic.
    • Improves realism. Anchors must hit the ocean floor to anchor. The moment the anchor collides with the floor it will immediately halt the vehicle.

Fixes

  • Resolves some jitter in singleplayer and multiplayer by using the correct force calcs based on the colliders in use. VS guessed points.

…jects from being passed through"

This reverts commit f33cf5a.
…number of layers without clipping for windows
…in unity

- move layers back to 2000 for all iron and wood prefabs. Drop
  transparency/cutouts to layers even lower IE 1999 and 1998.
…, add iron porthole cutout mesh to replace shader solution due to limitation with valheim rendering system not allowing depth buffers to work well
- add a MeshUtils class for handling mesh calcs and other mesh utilities
… with water forward or backwards forces applied
  IE anchor and underwater
- remove logic for blocking colliders and onboard colliders related to
  pushing vehicle up as this now can come from the generated mesh
@zolantris zolantris changed the title Feat/windows and window cutouts New Prefabs and anchor logic Jan 11, 2025
@zolantris zolantris merged commit c0a4080 into main Jan 12, 2025
1 check failed
@zolantris zolantris deleted the feat/windows-and-window-cutouts branch January 12, 2025 18:35
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