Boyle's law
I want to create an illustration of Boyle's law in which the volume of a balloon changes proportional to depth, (ie y value). Can anyone give me some help on this. thanks moyra
Answer by limaoscar · Jul 26, 2018 at 01:26 PM
If you are using a 3d modelled balloon ensure the Transform of the object is set to the centre or base, then you could use then as the the depth increase the scale of the ballon would decrease,
you could use the balloon pos for your value of Y, and link the scaling of the balloon to that.
Answer by MoyraCampbell5 · Jul 26, 2018 at 02:01 PM
Yes I see but it is the volume that is proportional. The scale would be the diameter
But but increasing the the size of it would illustrate the volume getting bigger? do you want to have the data with the correct volume at that given depth ?
Your answer
![](https://koobas.hobune.stream/wayback/20220612171554im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Relative Position Not Constant? 0 Answers
What is using equation for SpringJoint solver? 0 Answers
Unity transform.forward issue 1 Answer
Vector equation for dragging a Quad billboarding the Camera 0 Answers
2D kinematics 1 Answer