Attempt to Access Null Object - Why?

BlitzMax Forums/BlitzMax Beginners Area/Attempt to Access Null Object - Why?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ack! What am I doing wrong here? I get an "Attempt to Access Null Object" error.

Type Vector3
Field X:Double
Field Y:Double
Field Z:Double
End Type

Type SteeringOutput
Field Linear:Vector3
Field Angular:Vector3
End Type


Local MySteering:SteeringOutput = New SteeringOutput

MySteering.Angular.X = 90

Print MySteering.Angular.X