Net - HockeyQuestionMark/HockeyEditor GitHub Wiki
RedNet, BlueNet
Properties
The above properties are not read only and CAN be modified by anyone but the changes will only be visible on the client. If the host moves the nets, they will not change visually on the clients and the puck will pass through the net.
The positions are taken from looking directly at the goals. For example, the LeftBackBottom post for both the nets are on different sides of the ice.
Methods
Method |
Returns |
Parameters |
Description |
Reset() |
void |
|
Reset the net to its default position |
Translate(HQMVector translation) |
void |
HQMVector translation: the vector to translate |
Translates the whole net by the given vector |
RedDefaultPositions, BlueDefaultPositions
Constants
Name |
Type |
Description |
RIGHT_FRONT_BOTTOM |
HQMVector |
The default position for the right front bottom post |
LEFT_FRONT_BOTTOM |
HQMVector |
The default position for the left front bottom post |
LEFT_BACK_BOTTOM |
HQMVector |
The default position for the left back bottom post |
RIGHT_BACK_BOTTOM |
HQMVector |
The default position for the right back bottom post |
RIGHT_FRONT_TOP |
HQMVector |
The default position for the right front top post |
LEFT_FRONT_TOP |
HQMVector |
The default position for the left front top post |
LEFT_BACK_TOP |
HQMVector |
The default position for the left back top post |
RIGHT_BACK_TOP |
HQMVector |
The default position for the right back top post |