![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Lgdn |
i have an FP character and a rigid body and i whant the character take the cube and go to a Positon 3D node but there is an error
extends RigidBody
func _on_Area_input_event(camera,event, click_position, click_normal, shape_idx):
if event is InputEventMouseButton:
if event.button_index == BUTTON_LEFT and event.pressed == true:
self.translation = get_parent().get_node("player/Position3D2").translation
fix it pls an quick
I edited your code by adding 4 spaces in front of each line so it gets readable. It’s otherwise impossible to tell how your code is indented.
fix it pls an quick
Nobody is forced to answer you quicker
but there is an error
You need to provide more details about which error you are encountering if you want people to help you
Zylann | 2021-08-23 21:27
i’ve fix it HAHAHA godot go brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Lgdn | 2021-08-31 16:15