Skip to content

Implement swimming v2 #270

Description

@JaXt0r

Todos

Bonus (split into separate issues if needed):

  • Alter sight when under water (dive feeling)
  • When on the surface, do not dive under automatically. Only with a button click or certain force
  • Disable backpack (etc.) when in water
  • Bubbles around player (Let's see... Billboards might look awkward)
  • Implement air bar below player
  • Rotate player collider when in water --> 1.8m height to rotating 90° flat (otherwise we can't swim out in areas like Xardas old tower inside.) -> implementation: keep CharacterController, but raise steep offset to "hop" on top of water
  • Handle swim and dive grips separately per hand
  • Only handle swim movement of hand, when underwater.+

Bugfixing

  • synthetic rotation via thumbstick breaks arm swim
  • Shader change of objects (world mesh done, objects to follow)
  • Try with 3D bubbles. 2d ones look awkward in VR..
  • Experiment with alpha of drowning values. 0.8f is quite bright. Maybe go with 0.9f? -> 0.8f is fine. Otherwise it's too pitch black.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions