Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
The Lounge
Science Fiction and Fantasy Media
Collision - lightsaber with blaster
Reply to thread
Message
[QUOTE="jasonspine, post: 3071794"] Hi. I'm writing a game and I need a help with physics. Please, take a look at this picture: [PLAIN][PLAIN]http://img524.imageshack.us/img524/8645/lightsaberphysics.png[/PLAIN] White rectangles symbolizes collision detection objects. I've got a function, that checks intersection of two rectangles, and all I need to do is to handle these collisions. I don't need any advanced physics simulation. I need to get the angle of reflected bullet, or linear velocity of reflected bullet. Lightsaber can be moved or rotated (blade around the hand). I need a formula that accounts not only rotation of lightsaber, but also angular velocity. What phrase should I type in google to find something about collisions like that? Or maybe someone on this forum will help me? I used ODE Physics Engine before, but now I want to remake the game with custom, better collision reaction. You can check it here [url]http://www.pygame.org/project-Too+Many+Troopers+2-1707-2967.html[/url] [/QUOTE]
Insert quotes…
Post reply
Forums
The Lounge
Science Fiction and Fantasy Media
Collision - lightsaber with blaster
Back
Top