Anim8or Community

General Category => General Anim8or Forum => Topic started by: akulamartin on March 10, 2015, 09:02:11 am

Title: Make a floor
Post by: akulamartin on March 10, 2015, 09:02:11 am
How would you go about making a floor such that an object doesn't pass through this also applies to a wall
Title: Re: Make a floor
Post by: kreator on March 10, 2015, 10:16:52 am
Anim8or Does not have Collision Detection so you would have to Keyframe your object(s), so that they do NOT pass through the ,ground, floor, walls etc.

I aasume you Know how to Make a ground and replace the default grid?
Title: Re: Make a floor
Post by: AlecJames on March 10, 2015, 01:09:36 pm
I always make a large recatangular object and put it over the grid or turn the grid off.

It there another way?
Title: Re: Make a floor
Post by: RudySchneider on March 11, 2015, 12:33:56 am
I always make a large recatangular object...

Alec ---
Re-read the original post.  Yes, you're right, you can simply make a large rectangular object.  But that doesn't address "doesn't pass through..." part of the question, as kreator's comment did.

On the other hand, I did mention Bullet Dynamics to Steve, which would provide a suitable solution.  Maybe he can work that into Anim8or in some future build.
Title: Re: Make a floor
Post by: akulamartin on March 11, 2015, 12:48:14 am
mmm no I think that simple collusion detection would be a better solution before bullet dynamics :)
Title: Re: Make a floor
Post by: RudySchneider on March 11, 2015, 02:15:10 am
I suppose that would depend on your definition of "simple," since that's precisely one of the things for which Bullet was developed.  See here:  http://en.wikipedia.org/wiki/Bullet_%28software%29
Title: Re: Make a floor
Post by: Raxx on March 11, 2015, 02:57:48 am
I would much rather see Bullet integrated rather than a custom physics engine. And making "just" simple collision detection is pointless, by itself it's just a gimmick with no real utility that can be had outside of an oh-that-was-cool-for-five-minutes experience.
Title: Re: Make a floor
Post by: ENSONIQ5 on March 11, 2015, 07:25:10 am
Yeah, I have to agree with Rudy and Raxx.  Collision detection is only of any benefit in concert with physics, with only keyframing and scripts to move things about collision detection serves little purpose.  If it's just to help position things you can mathematically define the position of anything with a high degree of accuracy.
Title: Re: Make a floor
Post by: davdud101 on March 14, 2015, 10:33:23 pm
Oh man, I agree with that. I think just adding a library of already developed stuff that works great immediately and is functional right away is certainly more useful for us users than awaiting each small update of simple physics
Title: Re: Make a floor
Post by: Raxx on March 17, 2015, 09:00:35 pm
All that being said, I've already wasted a lot of time trying to get rudimentary physics working via ASL. Unfortunately, it's completely impossible until there's some sort of data persistence implemented, as there's no way to keep, say, a record of velocity and acceleration vectors for an object from one frame to the next without Anim8or griping about circular dependencies.

So I'll probably just wait until Steve implements scene.SetAttribute functionality, or he implements physics himself...