CDistributedSmoothNodeBase

from acron.direct import CDistributedSmoothNodeBase
class CDistributedSmoothNodeBase

Bases:

This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as a performance optimization.

Inheritance diagram

digraph inheritance9e1455b0c3 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CDistributedSmoothNodeBase" [URL="acron.direct.CDistributedSmoothNodeBase.html#acron.direct.CDistributedSmoothNodeBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "CDistributedSmoothNodeBase" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }
__init__()
broadcast_pos_hpr_full()

Examines the complete pos/hpr information to see which of the six elements have changed, and broadcasts the appropriate messages.

broadcast_pos_hpr_xy()

Examines only X and Y of the pos/hpr information, and broadcasts the appropriate messages.

broadcast_pos_hpr_xyh()

Examines only X, Y, and H of the pos/hpr information, and broadcasts the appropriate messages.

initialize()

Initializes the internal structures from some constructs that are normally stored only in Python. Also reads the current node’s pos & hpr values in preparation for transmitting them via one of the broadcast_pos_hpr_*() methods.

print_curr_l()
send_everything()

Broadcasts the current pos/hpr in its complete form.

set_clock_delta()

Tells the C++ instance definition about the global ClockDelta object.

set_curr_l()

Appends the timestamp and sends the update.

set_repository()

Tells the C++ instance definition about the AI or Client repository, used for sending datagrams.