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

This block is used to analyze the image received as input from the stage, the current backdrop, and the current costume, for the handwritten and printed text.
The function reports the last text detected from the speech.
The block returns the selected class name.
The block resets and clears the NLP model.
This block is used to set the threshold for the confidence (accuracy) of object detection, 0 being low confidence and 1 being high confidence. With the threshold value, you can set the level of confidence required for object detection.
The block changes the current voice used in Text to Speech.
This block analyses the image and saves the QR Code information locally, which can be accessed using other blocks. You have to run this block every time you want to analyze a new image from the camera.
The function returns the atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), in hPa of the location.
The block will play the specified note with the set instrument for the specified amount of beats.
The block turns the webcam on (directly or flipped) or off depending on the argument. 
The block will make its sprite continuously pen a trail wherever it moves until the Pen Up block is used. The color, size, and transparency of the trail can be changed with other blocks.
The block reads the analog value of the sensors connected to the specified pin. The block returns the int value between 0 to 4096.
The block displays the specified pattern on the Quarky RGB LED. These patterns are predefined in the code.
The block stops both the motors of the Quarky robot.
The block returns the state of the specified IR sensor. It returns True if the current IR sensor value is greater than the threshold value, else False.
The block stops the execution of the audio running on Quarky.
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.
This block analyses the image and saves the information locally, which can be accessed using other blocks.
The block sets the four servo motors of the legs to align with the specified orientation – inside, left, and right.
The block checks if the currently recognized class from the analyse numbers block is the selected class or not.
The block reports the recognized class from the recognition window.
The block set the sprite characteristics for the Physics Engine as free, fixed, or fixed but can rotate.
The block reports the state of the sensor connected to the selected pin. The block returns true when it is HIGH (or 3.3V) or false when it is LOW (or 0V). The block is used for digital sensors like PIR Sensor, Flame Sensor, or the IR Sensor.
The block sets the analog state of the specified pin to the specified value between 0 to 255.
The block creates a new feed or deletes an existing feed with the specified name.
The block triggers the event to send a webhook request.
The block performs the selected motion for the quadruped. The motion runs for the specified times and at the specified speed.
The block writes the dataset to the CSV file as a new row.
This block calibrates the angles of the hand servo motors and saves it in the memory of Quarky. Due to some mechanical assembly errors, there may be some misalignment of the servos which can be handled with this block.
The block makes the robot move in the specified direction with the specified speed for the specified time and then stop automatically.
All articles loaded
No more articles to load
Table of Contents