ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > Open Discussion
forum topic indicator how do i stop walking through walls collision and door issues
person icon
mrbobs
Registered User
Quote
2024-03-06 10:45:01

can just walk through walls in my house and wanna know how to stop that and also put my own door in on coppercube and the front angle has 0, -180 0 already when in from front angle and should be 0 for all and it works from other in games doors but mine annyoing this stuff make me want give up games so many issues barley working along

person icon
redberylftw
Registered User
Quote
2024-03-06 22:10:56

Don't try to solve every single problem at once. Focus on one thing at a time. Making games is hard, even when the tools are easy to use.

The first thing I recommend is reading this tutorial from the doc. It will teach you how to make two objects collide.
https://www.ambiera.com/coppercu...

This is one of the easiest things to do in this engine. Once you figure out this problem, then you can start working on another problem.

person icon
mrbobs
Registered User
Quote
2024-03-06 23:47:02

how to do it without coding i see collsion witth javascript but or is that only way

person icon
redberylftw
Registered User
Quote
2024-03-07 01:00:29

That guide tells you what to do and there isn't any JavaScript at all.

Add a "Collide when moved" behavior to your player character node.

Select your house node
Tick the box under "Attributes" that says "Collision"

You have added collision to your character, and it should collide with your house.

person icon
mrbobs
Registered User
Quote
2024-03-07 13:33:05

already have it on for it doesnt work its for some reason the outside the house i can just walk inside it idk why

person icon
mrbobs
Registered User
Quote
2024-03-07 13:34:18

already had this on didnt do anything

person icon
serge
Registered User
Quote
2024-04-08 10:32:08

In the windows publish settings or Mac publishing settings. Check if you selected only collision. If you have physic simulation selected then change to only collision.

2nd check your models if you have collision check.

3rd if you still working through doors create a plane mesh, make it transparent in front of the door or wall.

4th increase the size of your collide with move so you can avoid walking through walls. Sometimes you might need to minimize your model and increase your collide with move to avoid wall interference.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |