Dan-ball has moving solids

  • greymatter
    7th Apr 2013 Member 0 Permalink

    @Swordmaster (View Post)

    Yep, jacob1's mod has moving solids all right, and they are like bouncy things..probably not what comes to our mind when we think of moving solids, but as he said:

    jacob1:

    Probably the most real ever made so far.

     

  • boxmein
    7th Apr 2013 Former Staff 0 Permalink
    The technicalities of -why- there aren't any already are detailed here. It also has a few lines about what it'd take to implement something like that.
    To make sure we move all the required particles at once, we'll need some sort of shapes.
    Some definitions to shapes would be a Circle, a Polygon and a Rectangle.
    It wouldn't work well with regular particles, because the grid with regular particles would need to interfere with shapes somehow, and they are totally different so how will it work? Making sure a point is inside some area of a Circle or Polygon would be really speed consuming... (And we all know how much you desire that extra 5 FPS on this game)


    Aaaand all the 'moving solid' Dan-ball has is this:
    image
    while a script of mniip has already done that and arranged the given set into shapes etc etc.
  • Swordmaster
    10th Apr 2013 Member 0 Permalink

    Did you not go to the save that I linked in the first post? Did you not see how much that a soap-bubble system can do with the right tools? Look at the blimp and the baloons and the car. Look at them. Does TPT have actual moving vehicles? No. Could it? Could it without hyper-extensive modifications to it? If soap bubbles could be manipulated, TPT would be able to have a system like this.

  • nmd
    10th Apr 2013 Member 0 Permalink

    @Swordmaster (View Post)

     I thought the answer was obvious: no we can't.

  • Swordmaster
    10th Apr 2013 Member 0 Permalink

    How does Dan-Ball do it then?

     

     

  • nmd
    10th Apr 2013 Member 0 Permalink

    @Swordmaster (View Post)

    The powder toy does not the powder game: they dont work the same way.

    Due to the way code works in the powder toy, adding moving solids would be absurdly hard or really bad if done.

    I dont know what Dan ball did: I haven't been to the powder game in a long time, but however he implimented moving solids it cannot be applied to TPT.

  • jacob1
    10th Apr 2013 Developer 0 Permalink
    looking at that gif of moving solids in Dan-Ball, those aren't even moving solids. the BALL in my mod is better than even that, it at least stays together. I'm guessing they just have it set to the same velocity as all the other moving solid particles every frame or something, until it falls apart. I haven't even used them though.
  • greymatter
    10th Apr 2013 Member 0 Permalink

    @Swordmaster (View Post)

     

    Swordmaster:

    Does TPT have actual moving vehicles? No.

     

    Yes.I'm making a city right now with moving cars,lifts,pedastrians etc.A few cities have already been made with moving cars...

     

     

    (light has been brought into the problem)

     

  • savask
    10th Apr 2013 Developer 0 Permalink

    It's not hard to implement a thing like that, furthermore, that was made ages before PG had it just the project was abandoned because of the problem boxmein stated - joints don't collide with particles so it's not really rigid body physics. You can see that bubbles and stickmen have joints, so applying that to all particles is really easy but not necessary, to my mind.

    It would be great if you stopped saying that it's impossible to make joints because of TPT's code structure or that bubbles are failed moving solids attempt - these both are not true and only show your unawareness in the problem.

  • FeynmanLogomaker
    13th Apr 2013 Member 0 Permalink

    @jacob1 (View Post)

     It would be a lot more real if they had parabolic acceleration.

     

    Maybe:

    -Test if vy is positive or negative

    -if positive: vy/2, if negative vy^2, if < 1 negative vy?

    It would be incredibly simple.