2DWorlds Forums
7/22/11 - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: News (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=8)
+--- Thread: 7/22/11 (/showthread.php?tid=7114)



7/22/11 - Jacob__mybb_import1 - 07-22-2011

  • Added 2 new Character properties: OverrideArmRotation and ArmRotation. These let you change the rotation of the player's arm from a script.
  • Added a new UI object: UITextBox
  • Added better crash handling. And it's actually useful, not the "we need to quit, we're sorry" garbage that lots of programmers like these days.
[Image: 2w6xwet.jpg]


RE: 7/22/11 - Duck - 07-22-2011

What's the difference between OverrideArmRotation and ArmRotation?


RE: 7/22/11 - Jacob__mybb_import1 - 07-22-2011

(07-22-2011, 07:53 PM)Duck Wrote: What's the difference between OverrideArmRotation and ArmRotation?

ArmRotation is just a boolean property that tells the game to use the other one.


RE: 7/22/11 - Duck - 07-22-2011

(07-22-2011, 07:54 PM)Jacob_ Wrote:
(07-22-2011, 07:53 PM)Duck Wrote: What's the difference between OverrideArmRotation and ArmRotation?

ArmRotation is just a boolean property that tells the game to use the other one.

I'm confused

would

Character.ArmRotation = 90 work

or would I write

Character.OverrideArmRotation = 90

or

Character:OverrideArmRotation(90)


RE: 7/22/11 - Jacob__mybb_import1 - 07-22-2011

(07-22-2011, 07:56 PM)Duck Wrote:
(07-22-2011, 07:54 PM)Jacob_ Wrote:
(07-22-2011, 07:53 PM)Duck Wrote: What's the difference between OverrideArmRotation and ArmRotation?

ArmRotation is just a boolean property that tells the game to use the other one.

I'm confused

would

Character.ArmRotation = 90 work

or would I write

Character.OverrideArmRotation = 90

or

Character:OverrideArmRotation(90)

character.OverrideArmRotation = true
character.ArmRotation = 90

Boolean means it can only be true or false.



RE: 7/22/11 - Qwertygiy - 07-22-2011

YES! Now I can make tools with "animations"!


RE: 7/22/11 - Jacob__mybb_import1 - 07-23-2011

#2:
  • Added new AngularVelocity property for parts, and the associated FixedAngularVelocity object
  • New character function: setSeat(seat)
  • New player function: setTool(toolIndex)
  • FixedVelocities don't keep working after you delete them (only happened in the editor)



RE: 7/22/11 - Duck - 07-23-2011

(07-22-2011, 07:57 PM)Jacob_ Wrote:
(07-22-2011, 07:56 PM)Duck Wrote:
(07-22-2011, 07:54 PM)Jacob_ Wrote:
(07-22-2011, 07:53 PM)Duck Wrote: What's the difference between OverrideArmRotation and ArmRotation?

ArmRotation is just a boolean property that tells the game to use the other one.

I'm confused

would

Character.ArmRotation = 90 work

or would I write

Character.OverrideArmRotation = 90

or

Character:OverrideArmRotation(90)

character.OverrideArmRotation = true
character.ArmRotation = 90

Boolean means it can only be true or false.

I know what a boolean is, but I got very confused when you said "ArmRotation is just a boolean property" I understand how it works now.