This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

I am writing a rhythm game where all the note blocks are children of a Spatial Node called the MidiRail. The way I want to handle whether the block was hit in time is to detect whether the note block is colliding with the players note trigger block when the player plays the note. Seems simple enough, however I want do not want the note blocks to move. Instead I want the parent Spatial Node which is containing the note blocks to move this way I only have to move the parent to set all the blocks in motion. I am currently doing this by setting the MidiRail's translate which I am aware does not work with the physics engine. How can I detect collisions while only setting the parents position? (I do not want to set a velocity if possible, I want to dictate the position myself)

in Engine by (13 points)

If you just want to detect if a collision happened why not use an Area instead of a the full StaticBody physics object and listen for the area_entered signal?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.