0 votes

Hi there,

Apologies in advance for any mixing up of terms! I'm very new to godot and programming generally. I must say though I've found learning godot quite enjoyable so far :)

I have a Particles 2D node with a Tween node as the child of it. I'm looking to specifically interpolate the initial_velocity of the particles.

I have something like this:

$Particles2D/Tween.interpolate_property($Particles2D, "process_material", $Particles2D.process_material.initial_velocity, 100, 0.5, 2, 0)   

The starting velocity is set at 15 and is meant to increase to 100 over 0.5 seconds.

I don't get an error when i run it, but the desired effect does not happen unfortunately. When I try change the node path to "processmaterial/initialvelocity" nothing also happens.

Any help is much appreciated - thanks!

Godot version 3.2.2
in Engine by (12 points)

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 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 webmaster@godotengine.org with your username.