Looks like you're not logged in

Login or Register to continue

Lesson Q&A

Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.

  • Internal raycast collisionsMarcJJust FYI, I was getting odd movements from the avoidance force logic until I noticed the code in the completed bounder.gd in the _ready function at line 22 ```gdscript for raycast: RayCast2D in _raycasts.get_children(): raycast.add_exception(self) ``` I know the callout box "[Raycasts collide with nodes from the same scene by default!](https://school.gdquest.com/courses/learn_2d_gamedev_godot_4/top_down_movement/smarter_bouncer#)" mentions this, but it also says that raycasts shouldn't collide internally by default. 4 0 Nov. 12, 2024
  • intensityram876Hi! After we included intensity in the calculations, if the runner stands behind an obstacle at right angles to the direction of the bouncer, then the bouncer began to get stuck. But I increased the avoidance_strength a lot and bouncer started pushing off obstacles again. 1 0 Nov. 07, 2024
Site is in BETA!found a bug?