viernes, 8 de diciembre de 2023

Da un tipo de impulso hacia arriba en un cubo script para Godot3d 4.2;

 extends RigidBody3D



# Called when the node enters the scene tree for the first time.

func _ready():

pass # Replace with function body.



# Called every frame. 'delta' is the elapsed time since the previous frame.

#func _process(delta):

#translate(Vector3(0,0.08,0))

#pass



func _process(delta):

apply_torque_impulse(Vector3(0,0.08,0))

pass


No hay comentarios:

Publicar un comentario