Platforms to show: All Mac Windows Linux Cross-Platform

SCNPhysicsFieldMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An object that applies forces, such as gravitation, electromagnetism, and turbulence, to physics bodies within a certain area of effect.

You can create many types of field effects, such as gravitation, electromagnetism, and turbulence. To add a field effect to a scene, you create a physics field of the type you want to use and then attach it to the physicsField property of a node in the scene.
Physics fields can affect both SCNPhysicsBodyMBS objects and the particles spawned by SCNParticleSystemMBS objects.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Scopes

Constant Value Description
kScopeInsideExtent 0 The field’s effect applies only to objects within the region of space defined by its position and extent.
kScopeOutsideExtent 1 The field’s effect applies only to objects outside the region of space defined by its position and extent.

This class has no sub classes.

Some properties using for this class:


The items on this page are in the following plugins: MBS Mac64bit Plugin.


SCNPhysicsContactMBS   -   SCNPhysicsHingeJointMBS


The biggest plugin in space...