16-11-2021, 10:49 AM
(This post was last modified: 16-11-2021, 10:53 AM by josemendez.)
(16-11-2021, 10:39 AM)srid96 Wrote: Also your code appears to be wrong too, solver doesn't have definition for TransformPoint.
"solver" should be the solver's Transform component ofc, only transforms have a TransformPoint method. I didn't see that in your code you already have declared a "solver" variable of type ObiSolver, so you can just do:
Code:
solver.transform.TransformPoint(pos);
Quote:I do know about vector spaces, I am not that expert but I'm LEARNING.
No worries, learning is a process. The point I wanted to get across is that using an advanced physics engine to learn the basics is a bit like learning to drive in a F1 car: it will make things unnecessarily complicated for you. Learning anything is easier if you start from simple stuff.
It's fine though if you have time/patience! good luck and don't hesitate to ask if you need help, I'll do my best.