Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Some simple 2d game-related maths questions

by Anonymous Monk
on Aug 28, 2008 at 15:33 UTC ( #707519=note: print w/ replies, xml ) Need Help??


in reply to Re: Some simple 2d game-related maths questions
in thread Some simple 2d game-related maths questions

To prevent such cases, I have generally taken the *previous* position value when deciding. "They're touching now, and it came from thataway."


Comment on Re^2: Some simple 2d game-related maths questions
Re^3: Some simple 2d game-related maths questions
by GrandFather (Cardinal) on Aug 28, 2008 at 21:20 UTC

    So in fact you need to perform a complicated area intersection with the area traced out by the moving object and the boundary line unless you can guarantee that the object won't move twice it's "diameter" or more in a single update.


    Perl reduces RSI - it saves typing

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://707519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls