usePulseCollision does not work on Near and Radar sensor #35038

Closed
opened 2013-04-20 12:38:37 +02:00 by Monster · 13 comments

Category: Logic

%%%usePulseCollision does not work on Near and Radar sensor.

Please find attached a test blend with near sensor.

TestCase:
Each time the near sensor triggers the controller the property "activations" will be inceased.

One sensed object is in sensor range from startup - detected at frame 0 -> property gets 1 in frame 1
Another sensed object moved into range at frame 0 - detected at frame 1

A) Without usePulseCollision the controller should not get activated -> property remains at 1
B) With usePulseCollision the controller should get activated -> property changed to 2

Both situations are tested
A) is fine
B) does not work

Remark: As there is no switch in GUI the sensor will be configured via Python controller.%%%

**Category**: Logic %%%usePulseCollision does not work on Near and Radar sensor. Please find attached a test blend with near sensor. TestCase: Each time the near sensor triggers the controller the property "activations" will be inceased. One sensed object is in sensor range from startup - detected at frame 0 -> property gets 1 in frame 1 Another sensed object moved into range at frame 0 - detected at frame 1 A) Without usePulseCollision the controller should not get activated -> property remains at 1 B) With usePulseCollision the controller should get activated -> property changed to 2 Both situations are tested A) is fine B) does not work Remark: As there is no switch in GUI the sensor will be configured via Python controller.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%BTW. I use Blender 2.66a on Windows
The same effect is on Linux.%%%

%%%BTW. I use Blender 2.66a on Windows The same effect is on Linux.%%%
Member

%%%I made a fix (NearSensor_usePulseCollision.patch) for this bug.
%%%

%%%I made a fix (NearSensor_usePulseCollision.patch) for this bug. %%%
Author

%%%very cool
Thanks%%%

%%%very cool Thanks%%%
Author

%%%Tested with:

version 2.66 (sub 6), revision b'56420M'. b'Release'
build date: b'2013-04-30', b'21:31:38'
platform: b'Windows:32bit'

It failed the test.

Interestingly the first time I run the test it was successful. But all following test runs fail because missing activation. %%%

%%%Tested with: version 2.66 (sub 6), revision b'56420M'. b'Release' build date: b'2013-04-30', b'21:31:38' platform: b'Windows:32bit' It failed the test. Interestingly the first time I run the test it was successful. But all following test runs fail because missing activation. %%%
Author

%%%I forgot: tested with:

version 2.66 (sub 6), revision b'56420M'. b'Release'
build date: b'2013-04-30', b'21:31:38'
platform: b'Windows:32bit'
%%%

%%%I forgot: tested with: version 2.66 (sub 6), revision b'56420M'. b'Release' build date: b'2013-04-30', b'21:31:38' platform: b'Windows:32bit' %%%
Member

%%%The properties "activations" are working correct on my PC.

But you need 4 frames to get the correct result from your script, because the collision sphere will be replaced with the "Reset Distance" sphere.

By the way. Every new pulse collision will react on the "Reset Distance" size because the sensor is still trigged.%%%

%%%The properties "activations" are working correct on my PC. But you need 4 frames to get the correct result from your script, because the collision sphere will be replaced with the "Reset Distance" sphere. By the way. Every new pulse collision will react on the "Reset Distance" size because the sensor is still trigged.%%%

Added subscriber: @panzergame

Added subscriber: @panzergame

@hg1 : Can you retest/commit your fix ?

@hg1 : Can you retest/commit your fix ?
Member

At the weekend I will have a look at this.

At the weekend I will have a look at this.
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2019-06-29 02:20:26 +02:00
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#35038
No description provided.