keenanwoodall / Deform

A fully-featured deformer system for Unity that lets you stack effects to animate models in real-time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applying a lattice deformer causes lattice point to be beside the mesh to deform.

rlalance opened this issue · comments

Describe the bug
Applying a lattice deformer causes lattice point to be beside the mesh to deform. The control points can't influence the mesh correctly in that case.

To Reproduce
Steps to reproduce the behavior:

  1. Duplicate a prefab that has a few LOD
  2. Set the read/write flag on the mesh
  3. Go to prefab mode
  4. Apply deformable component to the prefab
  5. Click yes to the questions asked to apply a deform group.
  6. Apply lattice to the prefab

Expected behavior
The lattice points should be positioned correctly around the mesh.

Screenshots
image

  • OS: Windows 10
  • Unity: 2021.3.11f1
  • Deform version: 1.2,1

Additional context
I'm using a cliff rock from Castle Valley 1 Asset if that might help.