Feat:Adds Line Lock Module - #317
Conversation
beanbag44
left a comment
There was a problem hiding this comment.
The movement based snapping probably doesnt need to be used here. If the direction is defined by the starting rotation and snapping, then that can be used to angle everything. The only reason its done using movement in obstacle passing efly's is because the user might not be using a rotation lock. Its not needed here as the module is rotation locking
What do you mean by movement based snapping? |
The direction calculation based on line origin and current player position |
Still not sure I follow. What function/line number are you talking about? |
Reading it again i was mistaken, my bad |
|
noticed there was a reference to ConfigEditor.hideAllExcept though. Best to directly import hideAllExcept and remove the ConfigEditor. prefix |
|
I think all issues have been addressed |
Description
An alternative to rotation lock. Instead of locking your rotation to a certain angle, it locks it towards a line. That way when you bump pigmen on the highway, you realign to the middle instead of getting pushed off to the side.
This comment explains the functionality pretty clearly