You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve?
I want to prevent the character from slipping on boat. -
What is the issue?
The boat starts slipping at around 71s of run time regardless of when I activate my buoyancy script. Context: I found a open source skinned mesh ocean system online and wanted to use it for a game but realized that their buoyancy system wasn’t physics based. So for my implementation I used 6 attachments (attachment 0) with align positions in them to keep the boat afloat and their attachment1 being 6 other attachments that all get their world position changed (their height specifically based on wave height) and the boat successfully mimics some effect of buoyancy.
- What solutions have you tried so far
However, after 71 seconds of runtime regardless of whether I disable the buoyancy script and wait after that period it all is the same. The character if on the boat, starts to lose grip and then completely ignores the boats friction entirely.
I made a script that checks all of the ships property changes and nothing seems out of the ordinary.
I tried doing an ApplyImpulseAtPosition script but the boat ended up being way to bouncy.