branchrust_reboot/main/jungle_update/vine_integrationcancel
36 Commits over 0 Days - ∞cph!
Setup a small line of max length vine swings in the test scene
Better client replication of start and end points.
Ensures client is better at esimating progress - think we will just use protobufs instead though
Finish, keep and disable the vine viewmodel connection point stuff for now
Initial implementation of vine viewmodel connection points
Optim: Dont continue to run update client line function if we shouldnt show the vine
Hanging vine point now points towards end desintation again
New vine idle hang down position
- Vine hang point support
- Exposed more protected methods from fake physics rope
- Rename and organisation of vine scripts
Remove some unused variables
Actually make the debug text visible
Lerp the slack instead: way nicer result
Nuke the length calculation from the Protobuf as well
- Don't take progress via RPC try and calculate it instead
- Adjust length parameters to adjust as the player swings
Convar to disable vine drawing
Route vine length through protobufs instead (much better results)
More distance calculation bugs
Fix bug causing vines to be incorrect lengths acording to distance
Setup LOD on vine line renderer
Fixed vine renderers not spawning on proc gen
Fix NRE set line renderer state (was causing fake physics ropes to break occasionally and not render)
- Fixed budgetted visuals not working when vine needs to move its end point to point in the destination (still not perfect)
- Auto set rope length in SwingingRope instead
- Fake Physics rope can now manually have its update methods ran
- Vines are now updated in budgeted update like before
Rough direction pointing code
More natural vine swinging:
- Peak function dictates if bezier curve is following a sagging mid point or a flat midpoint (Mid way through the swing the vine is more straightened out)
- More dampening and springing on end rotations
- Custom mid point support
Find furthest away destination point and set the length via that
Further refinments to visual vine. Uses local position fake physics rope and adjusts vine visual rotation according to a spring
Add wind to new vines
- Swap to having existing component rather than adding it dynamically
Add some extra length to loosen the rope
Swap vine over to using fake physics rope instead