UPBGE 0.3 / 0.44 - dynamic paint

Here is a test file for 3 features of dynamic paint.

3 Scenes:
    
Scene 1: waves
    Key 1: spawn plank
    Space key: spawn Cube
    Mouse and click: drag plank/Cube
    MouseWheel: move plank/Cube front/back

Scene 2: displace
Scene 3: paint

UPBGE 0.3 version uses python to drive timeline.
UPBGE 0.44 version uses the built-in option.

03_dynamic_paint_watertest.blend (1.7 MB)
044_dynamic_paint_watertest.blend (1.6 MB)



5 Likes

Looks good, I will try on Range

I could not understand about this post if any one have knowledge about this then explain it for better understanding.

you can look into the scripts and see how they are connected with logic bricks

@musikai do you think you can make dynamic vertex painting in Range ? I think BlueRandom made that but not sure : basically , target closest vertex from a hitpoint ray and then paint the vertex and those around smoothly

Yes of course only something similar to this above would be possible as there is no dynamic paint in Range AFAIK.

You can try to port this here or edit for vertex paint etc. or search for a file by BlueRandom :slight_smile: :

Oh, wait - I found an old demo (works in UPBGE 0.2.5) that could be more easily converted to Range:

1 Like

IIRC I based it on this:


Then for GameEngine use added this:
For 0.3 a script drives the time-line.
For 0.44 it works by enabling this checkbox:

grafik