FluidField
FluidField
Represents a space where fluid simulation happens
Kind: global class
See
- 2019 GDC talk by Runard Rupert "Wind Simulation in God of War" https://www.youtube.com/watch?v=dDgyBKkSf7A
- Inspired by GDC talk "Interactive Wind and Vegetation in 'God of War'" - https://www.youtube.com/watch?v=MKX45_riWQA
fluidField.getAttributeData(name) ⇒ Float32Array
Kind: instance method of FluidField
Param | Type |
---|---|
name | string |
fluidField.attachBuffer(buffer, offset)
Kind: instance method of FluidField
Param | Type | Default |
---|---|---|
buffer | ArrayBuffer | |
offset | number | 0 |