> ownDirection := self velocity - self position. Taking that purely at face value, it doesn't look right mixing distance(m) & velocity(m.s^-1) in a calculation. I guess you are integrating velocity over one unit of time... (m.s^-1)*(s) - (m) = (m) - (m) = (m) cheers -ben Nicolai Hess wrote:
|
- [Pharo-users] Calculate angle between two vectors (probably ... MartinW
- Re: [Pharo-users] Calculate angle between two vectors (... Nicolai Hess
- Re: [Pharo-users] Calculate angle between two vecto... Nicolai Hess
- Re: [Pharo-users] Calculate angle between two v... Nicolai Hess
- Re: [Pharo-users] Calculate angle between t... btc
- Re: [Pharo-users] Calculate angle between two v... MartinW
- Re: [Pharo-users] Calculate angle between t... Nicolai Hess
- Re: [Pharo-users] Calculate angle between two vectors (... Alain Busser
- Re: [Pharo-users] Calculate angle between two vectors (... Igor Stasenko