Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Objects can move through objects
Old
simsman2011
Senior Member
 
simsman2011's Avatar
 
Status: Offline
Posts: 132
Join Date: Jul 2011
Location: somewhere on Earth
Default Objects can move through objects - 07-29-2011, 05:48 PM

Any object can penetrate and move through any other object like buildings, even when playing the world.......
If this is normal how to disable it?


==========ــــــــــــــــــــــــــــــــــــــ==============
==========SiMsMaN.....2O11=============
==========ــــــــــــــــــــــــــــــــــــــ==============
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 07-29-2011, 06:04 PM

Quote:
Originally Posted by simsman2011 View Post
Any object can penetrate and move through any other object like buildings, even when playing the world.......
If this is normal how to disable it?
This is not a bug. This is meant to happen. If you want them to collide then you must program the collision detection yourself to define how they collide. I'm sure another member can help on collision detection.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 203
Join Date: Feb 2011
Default 07-29-2011, 09:12 PM

How do you do cubic collision detection? I've only figured out spherical detection.

Within ... meters seems to be spherical


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Old
zero00
Senior Member
 
zero00's Avatar
 
Status: Offline
Posts: 300
Join Date: Oct 2009
Default 07-29-2011, 09:20 PM

In my Sky Warrior games, I think I've used something like that.

I used:
if "Player distance to the left of wall > x" and "Player distance to the right of wall < x"

Or something like that... See if that works for you.


==============Some of my Games and Ideas===========

Sky Warrior: http://www.alice.org/community/showthread.php?t=6291
Health Bars: http://www.alice.org/community/showthread.php?p=36968#post36968
Sky Warrior: Dual Force: http://www.alice.org/community/showthread.php?t=7174

Want to make your own space game? http://www.alice.org/community/showthread.php?t=6389
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 203
Join Date: Feb 2011
Default 07-29-2011, 09:29 PM

Thanks! My Alice doesn't work right now, but I can see how that would work. Brilliant idea!

You could probably create 4 squares and make events for distance left, right, front of, and behind of.

Thanks for the help!


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Old
gitter
Junior Member
 
Status: Offline
Posts: 5
Join Date: Oct 2011
Location: us
Default 10-02-2011, 11:21 PM

I am a game maniac and Alice is one of my favorite video game. I too have the same issue that all those objects in the game can move through other objects without colliding each other. I think it’s not an issue, and it can be adjusted by changing something in the settings. But I am not sure about what changes to be done in the game setting to disable it. Does this company use dynamics crm to keep track of its customers? The game is very much enjoyable even with this issue and so I am not concern about it. I still keep playing it.


hello

Last edited by gitter; 11-01-2011 at 10:01 PM.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 10-03-2011, 09:58 AM

Quote:
Originally Posted by gitter View Post
I am a game maniac and Alice is one of my favorite video game. I too have the same issue that all those objects in the game can move through other objects without colliding each other. I think its not an issue, and it can be adjusted by changing something in the settings. But I am not sure about what changes to be done in the game setting to disable it. The game is very much enjoyable even with this issue and so I am not concern about it. I still keep playing it.
Alice is not a video game, it is a programming engine meant to teach Java in a fun, non-syntax way.

There is nothing you can change in the settings to prevent objects from colliding because you can't do that in real programming. You must program the collision detection yourself.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.