Physics Engine Quarks
4 posters
Page 1 of 1
Physics Engine Quarks
It's late. I was working on a model Aeolipile. I found that even at 0 spring and 0 damper with 0 air resistance, there is still an outside force acting to slow the spin. Evidenced by the Aeolipile having an upper bound on RPM for a given power and slowing when power is removed in the above environment. Here's the model I'm working with, I'm going to bed, more on the morrow
semi-related: Aeolipile led me to steam rocket lead me to Nuclear Salt-Water Rocket
- Code:
// [RCD]
Val
{
FLAME(default=0)
FR(default=0)
}
Key
{
}
Body
{
Core() {
S:Jet(power=FR, effect=1) {
S:Cowl(angle=-90) {
E:Cowl(angle=-90) {
E:Cowl(option=4) { }
}
W:Cowl(angle=-90) {
W:Cowl(option=3) { }
}
S:Cowl(angle=-90) {
S:Cowl(angle=-45) {
S:Cowl() { }
}
}
}
}
N:Jet(power=-FR, effect=1) {
N:Cowl(angle=90) {
W:Cowl(angle=90) {
W:Cowl(option=4) { }
}
E:Cowl(angle=90) {
E:Cowl(option=3) { }
}
N:Cowl(angle=90) {
N:Cowl(angle=45) {
N:Cowl() { }
}
}
}
}
W:TrimF(spring=0, damper=0) {
W:Frame() {
W:Frame(angle=105) {
W:Frame(angle=15) {
W:Frame(angle=-60) {
W:Frame(angle=-60) {
S:Frame() { }
N:Frame() { }
}
}
}
W:Arm(angle=100, power=FLAME, option=-75000) { }
}
}
}
E:TrimF(spring=0, damper=0) {
E:Frame() {
E:Frame(angle=105) {
E:Frame(angle=15) {
E:Frame(angle=-60) {
E:Frame(angle=-60) {
N:Frame() { }
S:Frame() { }
}
}
}
E:Arm(angle=100, power=FLAME, option=-75000) { }
}
}
}
}
}
Lua
{function init()
power=0
end
function OnInit()
init()
end
function OnReset()
init()
end
function OnFrame()
FR=250*power
FLAME=750000*power
power=math.mod(power+_KEYDOWN(4),2)
out(1,math.sqrt(_WX(0)*_WX(0)+_WY(0)*_WY(0)+_WZ(0)*_WZ(0)))
end}
semi-related: Aeolipile led me to steam rocket lead me to Nuclear Salt-Water Rocket
MrSparks- Tank
- Posts : 73
Join date : 2012-01-05
Age : 33
Location : Michigan
Re: Physics Engine Quarks
I can think of three possible things.
In order of estimated probability:
1. There are small vibrations within the model that are causing this strange effect.
2. Either spring and damper or air resistance do not actually zero when set to 0 or turned off.
3. Aliens.
In order of estimated probability:
1. There are small vibrations within the model that are causing this strange effect.
2. Either spring and damper or air resistance do not actually zero when set to 0 or turned off.
3. Aliens.
Maurice- Hover
- Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's
Re: Physics Engine Quarks
Or there could be artificial damping even if air resistance is turned off. The damping in joints has been confirmed to be zero, otherwise the frame would start rotating under zero gravity while the middle is spinning.
Re: Physics Engine Quarks
what about negative dampening?
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: Physics Engine Quarks
Negative damper is equivalent to setting damper to zero. I've already conducted experiments on that.
Maurice- Hover
- Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum