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

The Block makes a request to ChatGPT with the specified text and stores the response in PictoBlox, which can then be accessed with the Block ‘Get AI Response’. This Block also features three types of AI bots – Normal AI, Sarcastic AI, and Friend AI.
This block enables users to set the digital state of an Arduino digital pin to either a High (5V) or Low (0V) voltage output. It can be used on the Arduino Uno, Mega, and Nano boards.
The block allows the user to set the cursor position in an LCD module. It takes two parameters, the column and row numbers, and moves the cursor to that position. This allows the user to create more precise output for the display.
This block adds the offset on the end effector position along the specified length direction i.e. the direction in which the robotic arm is facing and the Z direction.
This block moves the robot forward and backward for a set time, collecting IR sensor data on both white and black lines.
Starts the script when the sprite is touched by another sprite.
Moves the sprite a specified number of grid squares up.
Makes the sprite disappear as if fully invisible.
Runs the script over and over forever, untill stop by Stop button (🛑).
Play’s a specified sound from the list.
This makes a image copy of the sprite on the stage.
After connection is established, rotates the quarky a specified number of step to the left.
Shows a specified emotion with animation on the quarky LED display.
Detects and counts the number of human faces present in a view captured from the camera.
Allows the sprite to follow the movement of a detected hand in real-time on specified finger.
Runs the blocks inside if a specfied state(active/inactive) of the sensors of the wizbot is detected.
After connection is established, moves the wizbot in a specified direction forever.
The block sets a text color (choose from the color selector), a particular background color (choose from the color selector) and the text size (value varying from 1 to 7) for the text.
evive has a 5-way navigation key, 4 of them are for up, down, right and left direction. This block checks if the navigation key is in one of the four particular directions. The direction for which you wish to check is your choice and can be chosen from the drop down on the block.
The block sends the written message on the terminal module of the Dabble app.
The block reports the digital state of the digital sensor, connected to the selected digital pin.
This block should be included every time you work with the humanoid robot for the first time as it calibrates the angles of all the four servo motors of the leg (2 servos of legs + 2 servos of feet) and saves the angles in the memory of evive.
The block points its sprite in the specified direction; this rotates the sprite.
The block gives its sprite a thought bubble with the specified text. The thought bubble stays until a speech or thought block with its text block empty is activated, or the stop sign is pressed.
The options for the Change () Effect by () block’s drop-down menu are pan left/right and pitch. The input is for selecting how much the sound will be changed. A positive number will make the sound effect have more effect, while a negative number will make it smaller.
The block will check its Boolean condition. If the condition is true, the blocks held inside it will run, and then the script involved will continue. If the condition is false, the code inside the block will be ignored and the script will move on (unlike in the If () Then, Else block). The condition is only checked once; if the condition turns to false while the script inside the block is running, it will keep running until it has finished.
Scripts that wear the block will activate once its sprite or clone of the sprite is clicked. Contrary to its definite name, the block will also execute the clone’s script when the clone is clicked on.
The block reports the Euclidean distance, in pixels, between it and the mouse-pointer or a specified sprite’s costume center.
The block will make an input box (with the specified text above it) show at the bottom of the screen. Scratchers can input text into it and submit it, and the input is stored then in the Answer block. The Answer block automatic updates to the most recent input.
All articles loaded
No more articles to load
Table of Contents