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

It changes Sound Effects.
The block will check its Boolean condition: if the condition is true, the code held inside the first C (space) will activate, and then the script will continue; if the condition is false, the code inside the second C will activate (unlike the If () Then block).
Scripts that begin with this block will be invoked once the specified broadcast has been sent by a calling script. If a Forever block is sending the broadcast faster than the attached script can finish running, the script will restart without reaching the blocks at the end. This can be avoided by using Broadcast () and Wait.
The block holds the most recent text imputed with the Ask () and Wait block. When nothing has been inputted yet, the value will hold nothing.
Once you have analyzed the images, you can use the get # of objects block to get the number of objects recognized in the image.
The block joins two Boolean blocks so any one of them can be true to return true — if at least one of them is true, the block returns true; if neither of them are true, it returns false.
The block simply holds its variable value.
Once you have analyzed the images, you can use the get # of people block to get the number of people recognized in the image.
This block returns the x position of the pose landmark detected. The position is mapped with the stage coordinates.
The recognized () count block reports the number of selected things to count in the image. Multiple celebrities, brands, objects, and image tags in a single image can be seen.
Once you have analyzed the images, you can use the get # faces block to get the number of faces recognized in the image.
Once you have analyzed the image for printed text, you can use a printed text result block to get the recognized text from the image in a string format.
The block checks if the currently recognized class from the selected image feed (camera, stage, costume or backdrop) is the selected class or not.
The block analyses the specified text and provides the sentiment associated with the text – Positive, Negative or Neutral.
Once you have analyzed the images, you can use the get # of objects detected block to get the number of objects recognized in the image.
The block returns the QR Code data value detected.
The block changes the instrument that the Play Note () for () Beats block will play. A sprite can play only one instrument at a time. In order to play multiple instruments at once, it is necessary to have multiple sprites or clones of a single sprite
The block sets the pen’s color to the given color, which can be selected by clicking on the input.
This block sets the pen’s color, saturation, brightness (also known as shade), and transparency. The first value can be selected from “color” (default), “saturation”, “brightness”, and “transparency”.
The block sets the analog state of the specified pin to the specified value between 0 to 255.
The block displays the specified character on the Quarky RGB LED.
The block sets the threshold value of the specified IR sensor to the specified value. The value can be from 0 to 4095.
The block checks if the currently recognized class from the analyze image from () block is the selected class or not.
The block analyses the image and saves the face information locally, which can be accessed using other blocks.
The block checks if the currently recognized class from the analyze image from () block is the selected class or not.
The block sets the head servo motor angle to the specified angle.
The block checks if the currently recognized class from the analyze image from () block is the selected class or not.
The block reports the specified class confidence value of the selected class. 0 is low confidence and 1 is high confidence.
Scripts that wear this block will activate once the selected class is predicted either on the recognition window.
The block sets the selected property of the sprite (density, roughness, and bounce) to the specified value.
All articles loaded
No more articles to load
Table of Contents