Deprecated: Required parameter $query follows optional parameter $post in /var/www/html/wp-content/plugins/elementor-extras/modules/breadcrumbs/widgets/breadcrumbs.php on line 1215
3D and XR Studio Physics - Blocks, Python Functions, Projects | PictoBlox Extension
[PictoBloxExtension]

3D and XR Studio Physics

Physics
Extension Description
Move objects in a straight line or towards each other. For more control, adjust speed, rotation, apply pushes, and fine-tune gravity effects.

Introduction

Physics offers comprehensive control over the physical properties and behavior of objects and the world itself. Here’s a breakdown of each aspect:

1. World Physics Properties:
– World Type: Users can define the type of physics world, such as 2D or 3D, to match the dimensions of their environment.
– Gravity: Users have the ability to set the direction and magnitude of gravity within the physics world, influencing the behavior of objects subjected to gravitational forces.

2. Object Body Properties:
– Body Type: Users can specify the body type of objects, such as static, dynamic, or kinematic, determining how they interact with the physics simulation.
– Mass: Users can set the mass of objects, influencing their response to external forces and collisions.
– Friction: Users can adjust the friction coefficient of objects, controlling the resistance to motion when in contact with other surfaces.
– Damping: Users can define damping properties to simulate air resistance or other dissipative forces, affecting the object’s motion over time.
– Pressure: Users have the option to specify pressure properties for objects, influencing their deformation or buoyancy behavior in fluid simulations.

3. Motion Control:

Simple Motion:
1. Push Object Towards Another Object: Users can make one object move towards another with a specified speed, useful for creating collisions or interactions.
2. Move Forward/Backward: Users can move objects in a straight line, either forward or backward, with a set speed.

Advanced Motion:
1. Body Velocity: Users can set the speed and direction of objects’ movement.
2. Body Angular Velocity: Users control how fast objects rotate.
3. Apply Impulse: Users can give objects a sudden push, simulating impacts or abrupt movements.
4. Apply Force: Users can continuously push objects, affecting their movement over time.
5. Gravity: Users can adjust how much gravity affects objects, controlling their falling speed or direction.

These motion options allow users to create a variety of dynamic effects in their scenes, from basic movements to complex physics simulations.

Read More

PictoBlox Blocks

Controls the camera functionality, allowing users to turn the camera on or off and switch to other camera.
Starts the script whenever you press a specified button of the wizbot.
Calibrates wizbot sensors, ensuring accurate readings for line following
Switches the state of the wizbot to Grid mode.
The block takes the motor port, the direction of rotation (forward or reverse) and speed of rotation (between 0 to 100 %) as input from the user and rotates the motor accordingly.
evive has two tactile switches; this block checks if either of them is pressed. The switch whose state you want to check can be chosen from the drop-down menu on this block. It returns “true” if the switch is pressed and “false” if the switch is not pressed.
The block compares the latest string message in the terminal with the data input by the user in the block. If the data matches, it returns the true, else it returns false. 
The block reports either the temperature or humidity (selected from the dropdown menu) from DHT sensor connected to the digital pin selected from the drop-down menu.
The block is used to draw characters and symbols on evive TFT Display. The matrix size for the block is 20 horizontally and 16 vertically. 
This block defines the PWM pins to which each of the servos is connected.
This block defines the PWM pins to which all the four servos of legs(2 servos of legs + 2 servos of feet) are connected.
The blocks turn their sprite the specified amount of degrees clockwise. This changes the direction the sprite is facing.
The block gives its sprite a speech bubble with the specified text — the speech bubble stays until another speech or thought block is activated, or the stop sign is pressed.
The block will play the specified sound, with no pause to its script.
Blocks held inside this block will loop a given amount of times, before allowing the script to continue. If a decimal is put in, the number is rounded up.
Scripts placed underneath this block will activate when the specified key is pressed.
The block checks whether its sprite is touching a specified color. If it is, the block returns “true”.
The block checks if the first value is equal to the other value. If the values are equal, the block returns true; if not, false. This block is not case-sensitive.
The block will change the specified variable by a given amount.
The block enables or disables the automatic display of the box on the human pose or hand detection on the stage. This is useful when you want to see if the detection is happening or not.
The recognize () in image after () seconds block starts the camera and takes an image after the specified time and analyzes it. It then saves the image features in PictoBlox.
The function enables or disables the automatic display of the box on face detection on the stage.
This block is used to analyze the image received as input from the camera, for the handwritten and printed text.
When the block is executed, the recognition window will open and you will get a specified time during which PictoBlox will record whatever you say. Once recorded, the speech will be converted to the text of the language you spoke in and saved locally.
The block opens the recognition window and shows the machine learning analysis on the camera feed. Very good for visualization of the model in PictoBlox.
The block trains the NLP model with the data added with add () as () block.
The block enables or disables the automatic display of the box on object detection on the stage. This is useful when you want to see if the object detection happens during the analysis or not.
The block causes the text in the Text to Speech extension to be spoken using the pronunciation of the given language but does not translate the text.
The block returns the PictoBlox language of the current user. This block can be used with the translate () to () block, to translate to or from the end user’s set language.
All articles loaded
No more articles to load
Table of Contents