Tag Info

New answers tagged


You're looking for a change of basis. The way to do it is to find the coordinates of the new basis in the old one. For simplicity, we'll say that the FloorClipPlane represents the equation Ax+By+Cz+D=0 Let's do the rotation first, and then we can translate it to the floor. We'll find the coordinate of the Y axis, which happens to be the normal of the ...


By computing the velocity as some factor of the difference between the start and end position, you can achieve the association you want: var velocity = (endPosition - startPosition) * scale; The hard part be will choosing a value for scale. You can initially try constants -- such as 1.0f or 0.5f. This makes the velocity directly proportional to the start ...

Top 50 recent answers are included