Skip to content

Wind parameters - configurable hair physics#39

Open
skaljac wants to merge 4 commits intomainfrom
wind_parameters
Open

Wind parameters - configurable hair physics#39
skaljac wants to merge 4 commits intomainfrom
wind_parameters

Conversation

@skaljac
Copy link
Contributor

@skaljac skaljac commented Nov 30, 2021

We can configure wind parameters in scene file with:

{
  "type": "application/windsettings",
  "content": {
    "forceFactor": 1.0,
    "refreshDelay": 20.0
"direction": [0.1, 0, 0.01],

  }
},

forceFactor is wind force
refreshDelay is refresh time in ms (20.0 means 20 milliseconds)
direction is amount of variance in x,y,z direction

Related to issue:
webaverse/app#1598

PR for webaverse/app is here:
webaverse/app#1893

@skaljac skaljac changed the title Wind parameters added Wind parameters - configurable hair physics Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant