On 03/17/2011 05:39 AM, Caveat wrote:
> Hi Kevin
> Great to hear you got it working. I was having a discussion with a
> developer friend of mine who needs to do a lot of "math stuff" in his
> work and he came up with the suggestion to use affines, just a little
> after Doriano came up with the wor
Hi Kevin
Great to hear you got it working. I was having a discussion with a
developer friend of mine who needs to do a lot of "math stuff" in his
work and he came up with the suggestion to use affines, just a little
after Doriano came up with the working solution (which is actually based
on affine
On 03/15/2011 05:03 PM, Doriano Blengino wrote:
> Kevin Fishburne ha scritto:
>> Just to be clear on what -should- be happening, here's an example.
>> Player is facing up (0 degrees): left stick pushed up moves up, pushed
>> down
>> moves down, pushed left moves left, pushed right move
Kevin Fishburne ha scritto:
>Just to be clear on what -should- be happening, here's an example.
>Player is facing up (0 degrees): left stick pushed up moves up, pushed down
>moves down, pushed left moves left, pushed right moves right.
>Player is facing right (90 degrees): left stic
On 03/15/2011 11:03 AM, Doriano Blengino wrote:
By adding a fixed value to the orientation of the player, at every
frame, it will run in circle (speed<>0), or it will rotate on-place
(speed=0). The radius of the circle will be proportional to
speed/rotational_step...
Yes, that is true.
Kevin Fishburne ha scritto:
> On 03/14/2011 04:46 AM, Doriano Blengino wrote:
>
>> I think that you have too many variables involved... to define a speed
>> in a plane you need only two coordinates - you should choose between two
>> methods (or coordinate systems).
>>
>>
>> I think that you
On 03/14/2011 04:46 AM, Doriano Blengino wrote:
> I think that you have too many variables involved... to define a speed
> in a plane you need only two coordinates - you should choose between two
> methods (or coordinate systems).
>
> The first one, which seems to fit best, is to choose a direction
Kevin Fishburne ha scritto:
> I'm disturbed that I couldn't find an answer via Google that wasn't too
> complex for my feeble mind to understand (my fault; I suck at math), so
> I'm asking here.
>
> I'm trying to move a point with an angle/direction/vector relative to
> its angle. Let's say I have
On 03/14/2011 02:13 AM, Kevin Fishburne wrote:
> I'm trying to move a point with an angle/direction/vector relative to
> its angle. Let's say I have these variables:
>
> Dim a as Single ' Point's angle in degrees.
> Dim x as Single ' Point's x coordinate.
> Dim y as Single ' Point's y coordinate.
>
I'm disturbed that I couldn't find an answer via Google that wasn't too
complex for my feeble mind to understand (my fault; I suck at math), so
I'm asking here.
I'm trying to move a point with an angle/direction/vector relative to
its angle. Let's say I have these variables:
Dim a as Single '
10 matches
Mail list logo