• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1660
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Finish
Priority: Major Major
Assignee: Andrew Linden
Reporter: Omei Turnbull
Votes: 48
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Energy constraints are wildly different in Havok 4

Created: 23/Feb/08 08:31 PM   Updated: 27/May/08 04:31 PM
Return to search
Component/s: Physics
Affects Version/s: Havok4 Beta
Fix Version/s: 1.20.0 Server

File Attachments: 1. File Energy stipend measurement.lsl (1 kB)
2. File Hover.lsl (0.1 kB)

Issue Links:
Relates
 

Linden Lab Issue ID: DEV-11344


 Description  « Hide
Physical objects which are large enough to be affected by energy constraints behave much differently under Havok 4.

Scenario: Put the attached Hover script on a 10x10x1 cube in a Havok 1 sim. Make the object physical. The object will hover even if it starts out on the ground and with 0 initial energy. In a Havok 4 sim, a cube with 1/10 the mass (10x1x1) won't hover under the most favorable circumstances. There is more than an order of magnitude difference in the masses that are able to hover.

I originally discovered that there were differences in energy when I checked to see whether the rate at which objects gained energy had changed, and it had. The following was my original post. But having discovered that the effects of the changes can be so large, I have modified the summary and upped the priority.
-----------------------------------------------------------------------------------------------------------
The rate at which energy accumulates has changed in the Havok 4 beta. Previously, rezzed object gained energy at the rate of 200/mass units of energy per second. Under the Havok 4 beta, this has changed to 250/mass units of energy per second. This will change the behavior of any physical prims that are large enough that energy is a consideration. Or, if all energy-related constants have been scaled proportionately, it may still change the behavior of physical objects with scripts that use the old values.

Scenario: Create a 5x5x5 meter cube and put the attached script on it. Take the cube into inventory and then rez it. The script will measure and report the energy growth rate as 200 Lindogram/sec units on a traditional sim and 250 Lindogram/sec units on a Havok 4 sim.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Omei Turnbull made changes - 24/Feb/08 01:38 PM
Field Original Value New Value
Summary Energy stipend has changed in Havok 4 Energy constraints are wildly different in Havok 4
Priority Normal [ 4 ] Major [ 3 ]
Attachment Hover.lsl [ 15076 ]
Description The rate at which energy accumulates has changed in the Havok 4 beta. Previously, rezzed object gained energy at the rate of 200/mass units of energy per second. Under the Havok 4 beta, this has changed to 250/mass units of energy per second. This will change the behavior of any physical prims that are large enough that energy is a consideration. Or, if all energy-related constants have been scaled proportionately, it may still change the behavior of physical objects with scripts that use the old values.

Scenario: Create a 5x5x5 meter cube and put the attached script on it. Take the cube into inventory and then rez it. The script will measure and report the energy growth rate as 200 Lindogram/sec units on a traditional sim and 250 Lindogram/sec units on a Havok 4 sim.
Physical objects which are large enough to be affected by energy constraints behave much differently under Havok 4.

Scenario: Put the attached Hover script on a 10x10x1 cube in a Havok 1 sim. Make the object physical. The object will hover even if it starts out on the ground and with 0 initial energy. In a Havok 4 sim, a cube with 1/10 the mass (10x1x1) won't hover under the most favorable circumstances. There is more than an order of magnitude difference in the masses that are able to hover.

I originally discovered that there were differences in energy when I checked to see whether the rate at which objects gained energy had changed, and it had. The following was my original post. But having discovered that the effects of the changes can so large, I have modified the summary and upped the priority.
-----------------------------------------------------------------------------------------------------------
The rate at which energy accumulates has changed in the Havok 4 beta. Previously, rezzed object gained energy at the rate of 200/mass units of energy per second. Under the Havok 4 beta, this has changed to 250/mass units of energy per second. This will change the behavior of any physical prims that are large enough that energy is a consideration. Or, if all energy-related constants have been scaled proportionately, it may still change the behavior of physical objects with scripts that use the old values.

Scenario: Create a 5x5x5 meter cube and put the attached script on it. Take the cube into inventory and then rez it. The script will measure and report the energy growth rate as 200 Lindogram/sec units on a traditional sim and 250 Lindogram/sec units on a Havok 4 sim.
Omei Turnbull made changes - 24/Feb/08 01:38 PM
Description Physical objects which are large enough to be affected by energy constraints behave much differently under Havok 4.

Scenario: Put the attached Hover script on a 10x10x1 cube in a Havok 1 sim. Make the object physical. The object will hover even if it starts out on the ground and with 0 initial energy. In a Havok 4 sim, a cube with 1/10 the mass (10x1x1) won't hover under the most favorable circumstances. There is more than an order of magnitude difference in the masses that are able to hover.

I originally discovered that there were differences in energy when I checked to see whether the rate at which objects gained energy had changed, and it had. The following was my original post. But having discovered that the effects of the changes can so large, I have modified the summary and upped the priority.
-----------------------------------------------------------------------------------------------------------
The rate at which energy accumulates has changed in the Havok 4 beta. Previously, rezzed object gained energy at the rate of 200/mass units of energy per second. Under the Havok 4 beta, this has changed to 250/mass units of energy per second. This will change the behavior of any physical prims that are large enough that energy is a consideration. Or, if all energy-related constants have been scaled proportionately, it may still change the behavior of physical objects with scripts that use the old values.

Scenario: Create a 5x5x5 meter cube and put the attached script on it. Take the cube into inventory and then rez it. The script will measure and report the energy growth rate as 200 Lindogram/sec units on a traditional sim and 250 Lindogram/sec units on a Havok 4 sim.
Physical objects which are large enough to be affected by energy constraints behave much differently under Havok 4.

Scenario: Put the attached Hover script on a 10x10x1 cube in a Havok 1 sim. Make the object physical. The object will hover even if it starts out on the ground and with 0 initial energy. In a Havok 4 sim, a cube with 1/10 the mass (10x1x1) won't hover under the most favorable circumstances. There is more than an order of magnitude difference in the masses that are able to hover.

I originally discovered that there were differences in energy when I checked to see whether the rate at which objects gained energy had changed, and it had. The following was my original post. But having discovered that the effects of the changes can be so large, I have modified the summary and upped the priority.
-----------------------------------------------------------------------------------------------------------
The rate at which energy accumulates has changed in the Havok 4 beta. Previously, rezzed object gained energy at the rate of 200/mass units of energy per second. Under the Havok 4 beta, this has changed to 250/mass units of energy per second. This will change the behavior of any physical prims that are large enough that energy is a consideration. Or, if all energy-related constants have been scaled proportionately, it may still change the behavior of physical objects with scripts that use the old values.

Scenario: Create a 5x5x5 meter cube and put the attached script on it. Take the cube into inventory and then rez it. The script will measure and report the energy growth rate as 200 Lindogram/sec units on a traditional sim and 250 Lindogram/sec units on a Havok 4 sim.
lindenrobot made changes - 03/Mar/08 11:54 AM
Linden Lab Issue ID DEV-11344
Andrew Linden made changes - 05/Mar/08 11:18 AM
Assignee Andrew Linden [ Andrew Linden ]
Andrew Linden made changes - 05/Mar/08 11:21 AM
Status Open [ 1 ] In Progress [ 3 ]
Andrew Linden made changes - 18/Apr/08 02:12 PM
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s 1.20.0 Server [ 10280 ]
Resolution Won't Finish [ 2 ]
Strife Onizuka made changes - 27/May/08 04:31 PM
Link This issue is related to by SVC-1771 [ SVC-1771 ]
Sue Linden made changes - 13/Nov/08 12:09 PM
Workflow jira-2007-12-22a [ 52619 ] jira-2008-11-14 [ 82245 ]
Sue Linden made changes - 13/Nov/08 04:42 PM
Workflow jira-2008-11-14 [ 82245 ] jira-2008-11-14a [ 90629 ]