altar clickable from 1 direction only

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Granamir
Posts: 202
Joined: Wed Jan 07, 2015 7:19 pm

Re: altar clickable from 1 direction only

Post by Granamir »

ok seems it works now, when i try to put items inside...is there a way to make it works also when i try to remove items from wrong direction?
TY
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: altar clickable from 1 direction only

Post by minmay »

If you want that, you should probably just split the surface off into another object.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Granamir
Posts: 202
Joined: Wed Jan 07, 2015 7:19 pm

Re: altar clickable from 1 direction only

Post by Granamir »

In that case i should manage 2 objects separately, i'd like to avoid this solution.
Is there any object/component i can put inside the model to prevent clicking all behind it? Something like projectileCollider but to prevent me using mouse on everything behind it.
Or a way to handle "maxDistance" dynamically?
Post Reply