|
Well I want my mesh - plane should swim over water surface as paper. For that i would like modify position of mesh vertices, but my script doesn't work (
(comments are locked)
|
|
Found solution: I needed transform.worldToLocalMatrix to transform world coordinates to local mesh coordinates. this whole script:
(comments are locked)
|

Any suggestion?
as far I understand I should convert world coordinates to mesh vertices coordinates or something...