People Playground Modding
HomeIntroductionFile StructureEmpty mod templateDetailsLayersMod LifecycleMetadataExtended mod descriptionScript FilesShady Code RejectionThe Unity EngineBuilt-in componentsGame assetsTutorialsCreating a modCreating a custom itemCreating a custom behaviourCreating a custom syringeCreating a custom liquidCreating a gun with a custom projectileCreating a custom weapon attachmentSaving, loading, copying, and pastingCustom liquid mixersCode snippetsCartridgesMaterialsParticle effectsPhysical propertiesSpawnable itemsActivation actionRandom sprite assignmentCreating a background scriptChange environment settingsCreate an explosionCreating a lightCustom human spriteDebug drawingEditing pre-existing itemsEmpty entry pointListen for eventsMap IDsRegistering an itemAdding a firearmSpawn particles on activationBasic texture pack systemSource documentationAcceleratorBoltBehaviourAcceleratorGunBehaviourAcidPoisonAcidPoolBehaviourAcidSyringeAcidSyringe.AcidLiquidActionControlBehaviourActionRepresentationActionRepresentation.ActionCategoryActionRepresentation.ActionUniverseActivateIfExpandedGoreActivateIfTutorialActivations.ActivationEventActivations.ActivationEventTypeActivationPropagationActivations.ActivationTargetActivationToggleBehaviourActivationTransformerBehaviourActivatorElectrodeBehaviourActiveSettingIfNotVsyncActOnCollideActOnDestroyActOnDisintegrateActOnShotActOnUserDeleteAdditionalDecalEffectAdrenalinePoisonAdrenalineSyringeAdrenalineSyringe.AdrenalineLiquidAerialFaithPlateBehaviourAirfoilBehaviourAirfoilBehaviour.WingTypeAliveBehaviourAmbientTemperatureGridBehaviourAmbientTemperatureGridBehaviour.CellAndroidLaserBehaviourAndroidSparkCreatorAntiAliasingAntiAliasingRadioButtonAOEPowerToolAppearWhenMouseNearApplicationQuitButtonBehaviourAppliedBandageBehaviourArchelixCasterBehaviourArchelixCasterBoltBehaviourArrayClonerAtomBombBehaviourAtomBombExplosionBehaviourAudioSourceTimeScaleBehaviourUnityEngine.UI.Extensions.AutoCompleteSearchTypeAutomaticSentryControllerAutomaticWheelJointCreatorBackgroundItemLoaderBackgroundItemLoaderStatusBehaviourBallisticsEmitterBallisticsEmitter.CallbackParamsBalloonBehaviourBandageBehaviourBandageWireToolBaseBoltBehaviourBaseControlNamesBathroomMirrorControllerBatteryAttachmentBehaviourBeamCannonBehaviourBeamformerBehaviourBehaviourManager BellBehaviourBellClipBellClipContainerBlackHoleBehaviourBlasterBehaviourBlasterboltBehaviourBleedingParticleBehaviourBloodBloodContainerBloodContainer.PressureDirectionBloodContainer.RefFloatBloodContainer.SerialisableDistributionBloodExplosionBehaviourBloodImpactBehaviourBloodTankBehaviourBloodTankBehaviour.TankModeBloodWireBehaviourBloodWireToolBloomModeBloomModeRadioButtonBlueUseWireToolBoatMotorBehaviourBooleanRadioButtonBoundingBoxBehaviourBreakJointOnBurnBehaviourBreakJointOnShotBehaviourBugReportFormBehaviourBulbBehaviourBulletTracerPoolBurnableSpriteBehaviourBusGeneratorBehaviourButtonBehaviourCableBehaviourCableWireToolCameraControlBehaviourCameraShakeBehaviourCameraSyncBehaviourCannotShareCarBehaviourCardiopulmonaryBypassMachineBehaviourCartridgeCatalogBehaviourCatalogDataCatalogDropdownBehaviourCatalogToggleBehaviourCategoryCategoryButtonBehaviourCeilingTurretBehaviourCenterOfBoundsCenterOfGravityCentrifugeBehaviourChainsawBehaviourChainsawBehaviour.SoftConnectionActivations.ChannelChemistryChemistry.BeverageM04Chemistry.DebugDiscolorationLiquidChemistry.ExoticLiquidChemistry.InertLiquidChemistry.TritiumCirculationBehaviourClearButtonBehaviour
public class VibrationBehaviour
Inherits MonoBehaviour
[RequireComponent(typeof(Rigidbody2D))]
Will vibrate the attached rigidbody 2D
Fields
public float VibrateForce
This object vibrates when activated and this controls the vibration force intensity
public float VibrateRotationSpeed
Vibration frequency
Properties
public Vector2 ForceVector { get; }
Get current force vector that is being applied
Attention!
This member is obsolete and should not be used. It is a remnant from the past.
bi bij bibi