View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001542||Multi Theft Auto : San Andreas||Scripting||public||2006-08-31 18:40||2006-09-04 09:34|
|Summary||0001542: cloneElement should use coordinates instead of offsets|
element cloneElement ( element theElement, [ float xOffset = 0, float yOffset = 0, float zOffset = 0, bool cloneChildren = false ] )
It doesn't make sense to have the position be an offset, as it would be troublesome to specify a known location.
Instead it should accept coordinates. It would still be easy to specify an offset by just getting the original elements coords.
|Tags||No tags attached.|
It uses an offset because of the option to clone the children, it doesn't make sence to clone a group of elements and have them all in the same place.
Changed it to use the position as an offset, only if cloneChildren is used.