Builderbodymotionpath - fightale.org/docsRechercher la documentation ...RechercherCtrlK
double
0.2
0.4
public
static
final
double
new
double
0.0
0.2
protected
final
new
EnumHolder
protected
final
NumberArrayHolder
delayScaleRange
=
new
NumberArrayHolder
protected
final
NumberArrayHolder
percentDelayRange
=
new
NumberArrayHolder
protected
final
IntHolder
viewSegments
=
new
IntHolder
protected
double
protected
double
protected
double
protected
double
protected
double
protected
double
protected
boolean
protected
protected
double
protected
double
protected
boolean
protected
boolean
public
BuilderBodyMotionPath
()
@Nonnull
public
build
(@Nonnull BuilderSupport builderSupport)
return
new
BodyMotionPath
this
@Nonnull
public
getShortDescription
()
return
"Walk along a path"
@Nonnull
public
getLongDescription
()
return
"Walk along a path."
public
void
registerTags
(@Nonnull Set<String> tags)
super
"path"
@Nonnull
public
getBuilderDescriptorState
()
return
@Nonnull
public
readConfig
(@Nonnull JsonElement data)
this
"StartAtNearestNode"
this
true
"Start at closest warp point"
null
this
"PathWidth"
this
0.0
"Walking corridor width"
null
this
"NodeWidth"
this
0.2
"Radius of warp point node"
null
this
"MinRelSpeed"
this
0.5
0.0
1.0
"Minimum relative walk speed"
null
this
"MaxRelSpeed"
this
0.5
0.0
1.0
"Maximum relative walk speed"
null
this
"MinWalkDistance"
this
0.0
"Minimum walk distance when PathWidth greater 0"
null
this
"MaxWalkDistance"
this
0.0
"Maximum walk distance when PathWidth greater 0"
null
this
"Direction"
this
"Walking direction relative to order of nodes"
null
this
"Shape"
this
"Shape of Path"
null
this
"MinNodeDelay"
this
0.0
"Minimum resting time at a node"
null
this
"MaxNodeDelay"
this
0.0
"Maximum resting time at a node"
null
this
"UseNodeViewDirection"
this
false
"Look into next node direction at node"
null
this
"NodePauseScaleRange"
this
0.0
1.7976931348623157E308
"The range from which to pick a value that defines the portion of the total node pause time that should be spent facing a direction before turning"
null
this
"NodePauseExtraPercentRange"
this
"A range from which to pick the additional percentage of the directional pause time to add to it"
null
this
"PickRandomAngle"
this
false
"Whether to sweep left and right using the observation angle, or pick a random angle within the sector each time"
null
this
"ViewSegments"
this
1
"The number of distinct segments to stop at when sweeping from left to right using the observation angle"
null
this
"MinRelativeSpeed"
this
"MaxRelativeSpeed"
this
this
"MinWalkDistance"
this
"MaxWalkDistance"
this
this
"MinNodeDelay"
this
"MaxNodeDelay"
this
this
return
this
public
double
getPathWidth
()
return
this
public
double
getNodeWidth
()
return
this
public
double
getMinRelativeSpeed
()
return
this
public
double
getMaxRelativeSpeed
()
return
this
public
double
getMinWalkDistance
()
return
this
public
double
getMaxWalkDistance
()
return
this
public
boolean
isStartAtNearestNode
()
return
this
public
getDirection
()
return
this
public
getShape
(@Nonnull BuilderSupport support)
return
this
public
double
getMinNodeDelay
()
return
this
public
double
getMaxNodeDelay
()
return
this
public
boolean
isUseNodeViewDirection
()
return
this
public
double
@Nonnull
return
this
public
double
@Nonnull
return
this
public
boolean
isPickRandomAngle
()
return
this
public
int
getViewSegments
(@Nonnull BuilderSupport support)
return
this