Product Chat / Fish Swims Through walls

Author
Message
FabledFoe
9
Years of Service
User Offline
Joined: 26th Jul 2015
Playing: Game Guru
Posted: 17th Aug 2015 03:45
How do I prevent a fish from swimming through a boxed in area? It swims through the walls.
"Don't give up on your dreams, or your dreams will give up on you."- SS <*})))><
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 17th Aug 2015 04:22
I haven't downloaded those yet from the store but I will assume it depends on where you place them. I could be wrong. Not sure if they detect collisions.
i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce 420 GT
FabledFoe
9
Years of Service
User Offline
Joined: 26th Jul 2015
Playing: Game Guru
Posted: 17th Aug 2015 04:44
Collision is set to = 1 on both the fish and the wall it is moving through. I tried it in both static and dynamic modes.

Thanks Teabone. I'll keep looking. there's some other things going on in the script but I don't know what they are.
"Don't give up on your dreams, or your dreams will give up on you."- SS <*})))><
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 17th Aug 2015 07:39
@FableFoe - you need to move the fish start point further away from the walls - the movement is actually contained within the animation, it's not scripted (although it can be scripted), which is why walls are disregarded.
FabledFoe
9
Years of Service
User Offline
Joined: 26th Jul 2015
Playing: Game Guru
Posted: 17th Aug 2015 08:01
Alright, I'll give it a go. I can't seem to kill them either. At one point I had them exploding but they stopped for some reason.

I set them to ischaracter = 1 and now they just go through their animations. Every once in a while they'll take a hit and bleed.

Got them set to:
Physics on
Explosion yes
"Don't give up on your dreams, or your dreams will give up on you."- SS <*})))><

Login to post a reply

Server time is: 2024-11-25 09:55:12
Your offset time is: 2024-11-25 09:55:12