Home
Reply
Highlighted
Contributor
Posts: 20
0

How to snap the body's points?

Hi

I use HC_KInsert_Grid to create a grid,and use GetSnappedWorldPos,adjust_position_to_plane,snap_to_grid to snap the grid.

 

 Now, except for snap the grid,I want to snap a  box's vertex,face center points,edge center points, anyone has suggestions?

 

I try to calculate the box's face center points,edge center points,but I do not know how to snap them?

 

IF I do not calculate the box's face center points,edge center points,how to snap them?



Thanks in advance.

Tina

未命名.JPG