64
edits
Line 9: | Line 9: | ||
At the same time, a certain number of point number (5) are set on the line. | At the same time, a certain number of point number (5) are set on the line. | ||
[[File:AssumedSkeleton1.gif|400px]] | |||
The second step: two vectors, adding a random moving particle system. The distance between each point on the fixed vector, the number of points on the two vectors is represented by a variable, that is, the total length of the vector divided by the radius of the circle,which can be write in code like this: ellipseNum = distOfLine / ellipseSize; in this case, the particles can be guaranteed to be repelled in the entire line. The state of the repel, and the number of points changes as the length of the vector changes. The final effect of this step is very close to being expressed by the skeleton. | The second step: two vectors, adding a random moving particle system. The distance between each point on the fixed vector, the number of points on the two vectors is represented by a variable, that is, the total length of the vector divided by the radius of the circle,which can be write in code like this: ellipseNum = distOfLine / ellipseSize; in this case, the particles can be guaranteed to be repelled in the entire line. The state of the repel, and the number of points changes as the length of the vector changes. The final effect of this step is very close to being expressed by the skeleton. | ||
[[File:AssumedSkeleton2.gif|400px]] | |||
The third step: Adding the data of the motion tracking system, skeleton, the key point is the value of the point where the above fixed point is replaced by the skeleton, and the second is to pay attention to the data name from the motion tracking system. | The third step: Adding the data of the motion tracking system, skeleton, the key point is the value of the point where the above fixed point is replaced by the skeleton, and the second is to pay attention to the data name from the motion tracking system. | ||
(mouse test effect) | |||
[[:File:mouseTest3.mp4]] |
edits