Cities: Skylines

Cities: Skylines

Move It
Quistar 27 Jun, 2021 @ 2:56pm
Tree Snapping with MoveIt (Unlimited Trees: Reboot)
Hi Quboid,
I really appreciate the work you have done with MoveIt, and I'd really appreciate it if you can help out with Tree Snapping functionality in my mod, when using clone and rendergeometry.
Currently, I didn't enable tree snapping with MoveIt, because I tried and I could never get position and delta right after ray casting it.
The problem comes as I raycast the position passed from InstanceState, the resulting position would be a slight offset, thus causing a jitter effect on the selected trees. If multiple trees are selected, then the offset would be all wrong, because I think the center is different from mouseinput. (not sure though)
I have the suspicion that this tree snapping feature would be better implemented within InstanceState, but I'm not sure and your input would be greatly appreciated
< >
Showing 1-1 of 1 comments
Quistar 27 Jun, 2021 @ 2:58pm 
I have the basic framework setup which you may reference at GitHub[github.com]. The codes live in Patches/TreeSnapping.cs towards the end of the file
< >
Showing 1-1 of 1 comments
Per page: 1530 50