keijiro / Smrvfx

Skinned mesh sampling with VFX Graph
The Unlicense
1.08k stars 154 forks source link

Add Bounds property binder and organize inspector #23

Closed apkd closed 3 years ago

apkd commented 4 years ago

This commit adds a bounds property to the SkinnedMeshBinder, allowing you to easily deal with a situation where the character moves away from the point of origin. It allows you to select an exposed AABox graph property that you can easily connect to the effect's bounds input. There's an additional slider for expanding the bounds (since usually the VFX bounds should be larger than the mesh bounds). I also organized the inspector a little because I found it confusing at first sight.

image

Usage of the bound property looks like this:

image

keijiro commented 3 years ago

Thanks for the PR, but I'd like to close all the PRs because now VFX Graph officially supports Skinned Mesh Sampling.