Add NetworkArea nodes as physics extras#451
Conversation
I will test this right now with godot physics stepping |
|
I'll test this out with rapier when I get a second |
Thank you both! 🚀 |
| NetworkTime.on_tick.connect(_tick) | ||
|
|
||
|
|
||
| func _tick(_d: float, tick: int): |
There was a problem hiding this comment.
This runs in the tick loop, yet the signals emitted are labeled as rollback. Could you please clarify?
|
@kumpmati is the example repo still up? I can't open it. |
Sorry I had made it private, it's now public again |
No worries @kumpmati, take your time! I think this will be another great addition to netfox's featureset, so I don't mind waiting a bit 😄 Let me know if there's anything I can help with, I'm happy to write the docs! |
bc7a672 to
6c34dd0
Compare
|
@elementbound Finally got around to updating this 🙂 From my understanding I should check for overlapping bodies/areas during |
|
@kumpmati whoops, got distracted for a bit 😬 I think you are correct, you can also use the |
Related to #437
Physics rollback messes with Area2/3D
enteredandexitedsignals, making them fire multiple times, especially with ping + CharacterBodies.The
NetworkArea2/3Dhelper nodes introduce rollback-aware versions ofArea2/3Dsignals and methods with arollback_prefix.TODO:
Area2/3Dmethods with rollback support