Squishy objects
Is it possible to make an actor that accurately senses compression, and squishes or deforms accordingly? Or at least any way to sense tension and compression? I know the physics engine itself probably can't do this natively, but using rules and fancy maths - I'm almost sure it is possible.
Comments
http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./bar_SoftPhysics.html
cheers
To be honest real soft body dynamics is not even that straightforward or easy to set up in a dedicated CG package, so it's not surprising GameSalad wouldn't concern itself with that kind of thing.
You can alter the timing for you to turn back to your original size
thats not what hes after. Search for the game Gish and youll see what he wants.
cheers
cheers
"Well it is what's he's after because that little ball of squishiness squeezes through gaps hence what I've posted"
If you check earlier in this thread John posted a link to DBA's 'soft Physics' template which is pretty much what you describe, RD took a look at it and said that was not what he was after.
IMO: Gish is composed of 3 ball Actors: head, L eye & R eye, and mouth … backLayer: head and mouth frontLayer: eyes
I want to say they are connected with joints … but don't know much about kinetics …
the actual squish effect appears to be mostly changes in the Y of the head and mouth actors
the head and ball actors have ability to adhere to walls
(when colliding vertically their Y maintains an offset constraint to the wall surface … (horizontally, their X is constrained to wallCeiling)
try making 3 red ball actors … 1 image of both eyes; 1 image for top & bottom;
drag them into the sceneEditor
place in proper layer: higher: the eye image; lower: a top and a bottom
constrain the X of top to the X of bottom
constrain the eyes X to bottom X with offset if needed
establish a magnitude function between the top's and bottom's Ys
(this is what you will change for the squish)
constrain the eyes Y to half that magnitude you coded
figure out how to get a slight rotation of the top and bottom when moving L and R
for tight spots the head and bottom will not be visible and the eyes: changeAttribute; self.Size.Height To: smaller#
good luck!
MH
PS know you can do this @RD … better than I can write it! Show us how it looks when it works!
can hardly wait to see your example!
@};- MH
Cheers
> http://www.mediafire.com/
...
Says the format is invalid
cheers
Nice video and effect though
cheers