Colliding
-
@Aidan-Oxley That’s fine fire making sure of not double spawning, but I need to know when it returns, too.
-
@iTap-Development I asked you questions, at the time, and made it clear I wasn't understanding your shorthand. You didn't explain, nor answer my questions. When I asked you to provide any form of justification for your approach being better than mine, you went weird. All up, I left the subject thinking you don't really know much about it. Nor can you explain or educate others on what you're doing to replace referencing.
-
@Thecheater887 Ah, didn’t think of that.
-
@Deeeds I don’t remember where we left off, but if you still have questions I don’t mind trying to explain again.
-
@iTap-Development Cheater has questions... the one above.
How do you solve THIS problem?
-
@Deeeds the problem is that his replicator isn’t triggering a collide with the objects it has spawned? Correct?
-
I think maybe cheater should just give a link to their project (or a duplicate of it with lots of stuff missing if afraid of people stealing the game), so someone can figure out for sure why the collided isn’t triggering.
-
@Aidan-Oxley could it have to do with him moving/rotating on a duration of 0? Since those aren’t physics behaviors?
“The empty object uses custom rotation and standard movement on a 0 duration.”
-
Eh, nope. Just tested.
@Thecheater887 I’m assuming the object you are spawning has a tag, and that tag is selected for the collide behavior? -
@iTap-Development Yes.
I use no physics objects, all passive walls.
-
@Thecheater887 ah! I think the problem is that they are walls. Walls can’t collide with walls.
-
@iTap-Development Since when!? Last I checked, the only difference between walls and physics are that walls have 0 for gravity bounce air resistance etc.
-
@Thecheater887 walls are stationary, so they shouldn’t be colliding in the first place(with the exception of move behaviors). I could be wrong, but I think I’ve seen this in the help pages before.
@Murtaza @Hamed is this right? -
@iTap-Development That’s the thing, my custom rotation is using a move behavior.
-
@Thecheater887 physics can collide with walls though, just not wall with wall.
-
@iTap-Development That’s garbage. Physics object have movement lag, so that project went to hell too, then.
-
@Thecheater887 maybe you could make your spawner/replicator a physics object that is passable, with 0 gravity or anything else physics related?
-
@iTap-Development 750+ physics objects with timers? You sure?
-
@Thecheater887 you have 750 replicators?
-
All the spawned objects have multiple conditions to destroy. One is exiting the play area, one is if they collide with another object, one is after a certain amount of time.
A good amount of these objects also rely on stopped colliding and timers to verify the state of objects around them, or to spawn even more objects.
Also, I just checked. I have a passable wall empty object named “PlayArea”. Stopped colliding works ace with that destroying replicated objects, but my enemies don’t seme to want to mind when their shield is broken, also passable walls with stopped colliding.
The play area is pretty small, but I estimate I will have about 1000 small, painless effects objects, 35 large, complex enemies, and 60 or so small or simple enemies all going at once worst case scenario.