Dynamic GameObject.Curve

Hi!
As stated in the topic, I’ve created a GameObject.Curve with a Curve.Spline and now I want to dynamically update the spline points (I want to create something like a moving water wave) but I only found a way to define curve points on the creation of the object. Is the even possible to create a GameObject.Curve with dynamic points?

http://labs.phaser.io/edit.html?src=src/paths/curves/drag%20spline%20curve.js

but it’s not using GameObject.Curve. It’s only drawing the curve dynamically based on the curve object. I need the curve as a gameobject (to apply physics etc.)

You can modify the curve value you passed to create the game object or else find it in the game object’s geom property, then call the private method updateData(). I don’t know a standard way to do it.