struct PhysicsApplyForceRequest

Defined in:

utils/physics_systems.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(fx : Float64 = 0, fy : Float64 = 0, dx : Float64 = 0, dy : Float64 = 0, torque : Float64 = 0) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(fx _fx = @fx, fy _fy = @fy, dx _dx = @dx, dy _dy = @dy, torque _torque = @torque) #

[View source]
def dx : Float64 #

def dy : Float64 #

def fx : Float64 #

def fy : Float64 #

def torque : Float64 #