Jump to content

GODOT 3d player touch block

Spoiled_Kitten

I wish to make it so that in godot 3d, when a player touches a block it loads them to a new scene, how to i do this? i cant seem to find how to, thanks

Blake has arrived!!

Just your local tech geek!

Love to help!

Link to comment
Share on other sites

Link to post
Share on other sites

I've never seen or used godot so I can't give a specific answer but as a generic approach to any game or engine this works. Typically you would use a collider or bounding box that simply calls a script or function which unloads the old scene and loads the new one. You could also use pythagorean theorem with to check if the player is within a certain distance from the trigger point.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

22 hours ago, trag1c said:

I've never seen or used godot so I can't give a specific answer but as a generic approach to any game or engine this works. Typically you would use a collider or bounding box that simply calls a script or function which unloads the old scene and loads the new one. You could also use pythagorean theorem with to check if the player is within a certain distance from the trigger point.

I figured out, but thanks

Blake has arrived!!

Just your local tech geek!

Love to help!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×