Animatedblock faces camera if modelid = 3
This commit is contained in:
parent
630f8d3b3a
commit
2dd64aa7be
|
@ -163,6 +163,13 @@
|
|||
End Function
|
||||
|
||||
Public Overrides Sub UpdateEntity()
|
||||
If Me.BaseModel Is BaseModel.getModelbyID(3) Then
|
||||
If Me.Rotation.Y <> Screen.Camera.Yaw Then
|
||||
Me.Rotation.Y = Screen.Camera.Yaw
|
||||
CreatedWorld = False
|
||||
End If
|
||||
End If
|
||||
|
||||
If Not Animations Is Nothing Then
|
||||
For n = 0 To Animations.Count - 1
|
||||
Animations(n).Update(0.01)
|
||||
|
|
Loading…
Reference in New Issue