Results 1 to 8 of 8

Thread: Projectile Friction!

  1. #1

    Projectile Friction!

    I'm essentially trying to make a marble gun. Currently, it's working great in the fact that the marbles show up, they bounce off of shit, etc. HOWEVER, I have one major problem that I can't seem to be able to fix; the marbles never slow down (noticeably). Preferably, what I'd like the marbles to do is bounce maybe 2-3 times off of metal surfaces, but each time they should take a considerable blow to their speed. As of right now, it's as if friction doesn't exist...

    In the .projectile tag, I have the projectile moving at an initial 40 units per second and they reflect off of every material except water. I've tried many values, but in a last-ditch effort I made all the parallel and perpendicular friction factors 0.9 to try to slow these jumping beans down. The result is a bunch of never-stopping marbles bouncing all over the place.

    Has anyone tried something like this before, and gotten it to work? It's starting to look bad for me...

    EDIT: Videos! I cranked up the contrail's size so that you could see the projectiles; these are SUPPOSED to behave like marbles. As you can see, that's not quite how it happens. The parallel and perpendicular friction for my projectile are both 0.9 for every material type.

    http://www.youtube.com/watch?v=i1GKOXlfVHo
    This video is unable to be displayed because the YouTube video tags were used incorrectly. Please review proper use of the tags here.
    Last edited by Ingulit; September 20th, 2007 at 07:36 PM.
    Reply With Quote

  2. #2

    Re: Projectile Friction!

    Now with videos!

    (
    My Youtube tags don't work :'( )
    Last edited by Ingulit; September 18th, 2007 at 11:04 PM.
    Reply With Quote

  3. #3
    I LOVE mint tea! Bad Waffle's Avatar
    Join Date
    Sep 2006
    Location
    In my house, duh
    Posts
    2,285

    Re: Projectile Friction!

    They need some gravity. It's a tag like "air friction" or something, look in the grenade tag for it.
    Reply With Quote

  4. #4
    The Cake is a Lie. Jay2645's Avatar
    Join Date
    May 2007
    Posts
    1,661

    Re: Projectile Friction!

    This video is unable to be displayed because the YouTube video tags were used incorrectly. Please review proper use of the tags here.
    Fixed.
    Reply With Quote

  5. #5

    Re: Projectile Friction!

    So, uh, in the .projectile tag, under the "reflection" section for each of the different shader types... Apparently the perpendicular friction and the parallel friction are backwards?
    Reply With Quote

  6. #6
    Member Kiwibird's Avatar
    Join Date
    Jan 2007
    Location
    PA
    Posts
    100

    Re: Projectile Friction!

    What I would do is look at the fragmentation grenade projectile and copy all the physical properties and then tweak it from there.
    Reply With Quote

  7. #7

    Re: Projectile Friction!

    That's how I got started :P

    EDIT: I do know the basics, guyz. I only post here if I can't deduce what the fuck is wrong, and when Bungie is no help.
    Reply With Quote

  8. #8
    Member Kiwibird's Avatar
    Join Date
    Jan 2007
    Location
    PA
    Posts
    100

    Re: Projectile Friction!

    Hmm, well sorry it's not working. It worked for me when I made the Frag Grenades into Tennis Balls. Maybe your missing something very tiny and you just passed over it. I hope you figure it out!
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •