Lady Rowena on 8/4/2014 at 21:50
I'm trying to make a flat switch smaller, but only the plaque is resized, while the lever itself remains the same size and looks weird.
Also, I tried to resize only the physical dimensions of another flat switch, because it obstructs a narrow passage, but no success.
Any way to fix them?
R Soul on 9/4/2014 at 00:02
It should be possible to resize it without any trouble. I tend to use the Shape > Scale property so I can keep the proportions equal. You'll need to add the Tweq > Joints property and reduce Joint1's High value (0.7) to stop the lever moving too far.
A Flat Switch has a very thin physics model. If it's blocking a corridor, I think the corridor isn't wide enough. It's difficult to explain the Phys model problem without sounding patronizing. It's just a property (Physics > Model > Dimensions) with numbers. Use the command show_phys_models to make it easier.
Lady Rowena on 9/4/2014 at 20:52
I'm already using the scale property, and the problem was still there. I will try Joints property as you said.
As for the other flat switch, maybe I didn't explain it well. I don't want to change the visual dimensions, but the Physics dimensions, so I already did: Physics > Model > Dimensions and changed all the values to 0.01, but it seems to have no effect.
The passage is 4x4. Anyway , I had similar problems in the past, i.e. with a light, and reducing the physic dimension solved the problem. With the switch it doesn't work, that's why I'm asking.
Yandros on 9/4/2014 at 23:05
Is the switch on a wall and you don't want to player to run into it if they hug against the wall? If so, just give the physics model a slight offset in the X or Y to embed its collision model in the wall. It's easy to see that if you show_phys_models.
Lady Rowena on 9/4/2014 at 23:52
R Soul
Setting the Joint's value to 0.5 fixed it, thanks!
Yandros
Is sounds as a brilliant solution, thanks you too!