Hi,
this is my first question in this forum. I am a beginner and made a little sim.
but now i can not find any way to get advance.
I have a problem. All objects should have the same height, even if the size is changed, the height should always remain the same.
Please, can anyone tell me what i have to do?
the file is attached to check my sim
First Question - All objects should have the same height
210 2 1- Daniel75com
- Member
- 2 posts
- Joined: 4月 2023
- Offline
- Tanto
- Member
- 397 posts
- Joined: 11月 2016
- Offline
Hi! Instead of setting pscale, set scale, which is a vector with components for x, y and z.
so instead of your last line:
Edit: Noticed your y component is probably not the one who should remain unchanged, but you get the idea.
so instead of your last line:
float myscale = fit01(ramp, chf('pscale_min'), chf('pscale_max')); v@scale = set(myscale, 1, myscale);
Edit: Noticed your y component is probably not the one who should remain unchanged, but you get the idea.
Edited by Tanto - 2024年4月26日 11:56:45
- Daniel75com
- Member
- 2 posts
- Joined: 4月 2023
- Offline
-
- Quick Links