branchrust_reboot/main/jungle_update/vine_integrationcancel
86 Commits over 31 Days - 0.12cph!
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
Added server.spawnvinetrees, will skip the vine trees during proc gen unless this is enabled
Needs to be set at boot, will do nothing after proc gen has processed
Fixed vine tree not getting randomised rotation
Improved initial rotation of vines, fixes camera snap the first time a player uses a vine
Replace the vine renderer with a super simple line renderer (keep the old one as a prefab, can be swapped out)
Rework vine spawning locations, now just spawns at a given height and radius
Added the ability for ladders to require the player to look at the vine to climb it, prevents player going into ladder climbing mode if they strafe into a vine swinging tree
Don't spawn trees in rivers
Very rough looking vine extending logic
Increase max distance of vines by 10m, rework vine swing spawn location
Added forestside topology 12 units around the vine tree to stop other trees spawning too close to the vine tree and blocking movement
Reapply spawn point change
Add debug.vineswinginghighlight command
Added debug.vineswingingreport convar, prints out info about the vines on the server
New vine swinging test procedural map
Fixed broken tree swinging prefab, move to autospawn folder
Removed the population bsaed vine tree spawn process
Set up a PlaceDecorUniform pass for jungle swinging trees
Bring density down by 75%
Add vine tree population
Fixed an NRE because tree has no proper colliders (yet)